Cast

This API call allows a developer to listen for cast events.

Endpoints

MethodDescription
.stopCasting()Immediately end the current Chromecast session if one exists
.requestCast()Used to cast and update currently playing cast media with a new playlist item(s)


Events

MethodDescription
.on('cast')Triggered when a cast property changes
.on('castIntercepted')Fired when interceptCast is enabled, and a customer tries to cast content

The event also indicates whether a cast session is currently active.

© 2007-2024 Longtail Ad Solutions, Inc.