<video> inside a positioned stage. Keep controls, captions and the graphics surface in that presentation area. This integration attaches to the element already set up to play HLS in your application.
readVideoProgramTime() is supplied by your host. Return the program instant at the actual playhead in Unix milliseconds or null if it is unavailable. On engines exposing a valid video.getStartDate(), the adapter can infer the program clock. For HLS cues, configure playlistUrl with the media variant or pass the text from your existing loader to sdk.updateManifest(text).
The feed and assets need the correct HTTPS and cross-origin permissions for the player. Use sdk.setLinearAd(true) at the start of a confirmed spot and false at return to content. Call sdk.destroy() when leaving the video. Verify CSS positioning and focus in the actual browser or TV. Play both formats, seek past a cue to confirm no impression, and compare fullscreen behavior with the stage itself fullscreen. Fixture and cue contract · HTML5 adapter source
If you link player.css from HTML instead of importing it, publish fonts.css and the fonts/ folder with it. See Typeface of the product panels in the Player SDK guide.
If you use hls.js without the SDK’s content clock, or another Media Source player, call sdk.closeProduct() when you open other content, so that an open product panel does not stay over it. See How long the product panel stays in the Player SDK guide.