ReferenceExtensions
GoogleCast
Options for the Google Cast extension that configures the receiver and load request
Adds the Google Cast extension to the player’s media. It renders nothing — place it inside the player as a sibling of the media element, and pair it with a CastButton. See Cast to AirPlay and Chromecast for the complete setup.
Import
Anatomy
Options
When the Cast src is an HLS playlist, Video.js detects the segment format and sets the receiver’s hlsSegmentFormat and hlsVideoSegmentFormat load-request fields. The Default Media Receiver plays HLS natively, so no extra receiver setup is needed.