Constructor
new PipButton(parentnon-null, controlsnon-null)
Parameters:
| Name | Type | Description | 
|---|---|---|
parent | 
            
            HTMLElement | |
controls | 
            
            shaka.ui.Controls | 
- Extends:
 - Source:
 
Extends
Classes
Members
parent :HTMLElement
Type:
- HTMLElement
 
- Overrides:
 - Implements:
 - Source:
 
Methods
onEnterPictureInPicture_()
- Source:
 
onLeavePictureInPicture_()
- Source:
 
onTracksChanged_() → {Promise}
    Display the picture-in-picture button only when the content contains video.
If it's displaying in picture-in-picture mode, and an audio only content is
loaded, exit the picture-in-picture display.
- Source:
 
Returns:
- Type
 - Promise
 
updateLocalizedStrings_()
- Source: