Constructor
new CaptionSettingsMenuItem(player, optionsopt)
Creates an instance of this class.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
player | 
            
            Player | The   | 
        |
options | 
            
            Object | 
                
                    <optional> | 
            
            
            The key/value store of player options.  | 
        
Extends
Methods
- 
    
        
        
handleClick(eventopt)
 - 
    
    
This gets called when an
CaptionSettingsMenuItemis "clicked". See ClickableComponent for more detailed information on what a click can be.Parameters:
Name Type Attributes Description eventEventTarget~Event <optional> 
The
keydown,tap, orclickevent that caused this function to be called.Listens to Events:
- event:tap
 - event:click
 
- Overrides:
 
 - 
    
        
        
handleTracksChange(event)
 - 
    
    
Handle text track list change
Parameters:
Name Type Description eventEventTarget~Event The
changeevent that caused this function to be called.Listens to Events:
- Inherited From: