Web Player
Code examples
Examples of different custom implementations
The pages in this section show different player implementations and how to use the JavaScript API for them:
Specific player configurations & debugging — recipes for player behavior, player size and debugging.
Event listeners — reacting to player events with
on(),once()andoff().Video playback — video quality, seeking, click-throughs and volume.
Working with playlists — playing, limiting and shuffling playlist items.
Advertisement — frequency caps, ad tag parameters, custom ads and bidding timeouts.
Carousel — carousel click-throughs, the Read more button and slide titles.
Theater Mode Guide — turning theater mode on and controlling it from the API.