initPlayerOptions

open fun initPlayerOptions(root: ViewGroup): View

Initializes the player options menu and will add it to the ViewGroup provided. If the player option was already added to the ViewGroup, the layout view will be returned,

Return

the layout view containing the player options

Parameters

root

the view root where the player options menur will be added to