You can add Browser TVSDK behavior to pause and play buttons.
Create a pause/play button that does the following.
Wait for your player to be in at least the PREPARED state.
To start playback, call the Browser TVSDK play method:
play() → {AdobePSDK.PSDKErrorCode.SUCCESS}
To pause playback, call the Browser TVSDK pause method:
void pause() throws IllegalStateException;
Listen for the AdobePSDK.MediaPlayerStatusChangeEvent
event to check for errors or to take other appropriate actions.
Browser TVSDK triggers this event when pause or play methods are called and passes information about the event object, including the new state, such as MediaPlayerStatus.PLAYING
or MediaPlayerStatus.PAUSED
.