Web Player · v1

Additional player methods

getTotalPlayed(), getTotalCovered(), and getTotalCoveredArray() report session-local measurements. Seeking does not count as viewing. Values reset on loadVideo() or teardown and are not stored as Customer Analytics.

getCaptionLanguages() lists tracks by File ID, language, and label. Use setCaptionLanguage({ fileId }) for duplicate-language tracks; hideCaptions() disables captions. getVideoQualities() lists available representations; setVideoQuality(id) selects one, and enableAdaptiveVideo() restores adaptive selection.

setFullscreen(true|false) requests fullscreen. getMetaData() returns safe Media Asset details and Chapters. loadVideo({ otp, playbackInfo }) replaces the session using a fresh pair; pending old calls reject and existing subscriptions remain. Custom events report caption, quality, adaptiveness, fullscreen, and status changes. AirPlay is available in supported Safari environments through the player UI. Chromecast requires a registered receiver and a separate fresh playback pair for that device.