# Google Chromecast

ByteArk Player supports casting video to Chromecast devices or smart TVs that support Chromecast. On compatible browsers and operating systems, the player shows a Chromecast button on the control bar.

# Chromecast display

Chromecast

# Enable

Enable Chromecast via the bytearkChromecast plugin in options:

var player = bytearkPlayer('video-player', {
  fluid: true,
  plugins: {
    bytearkChromecast: {
      appReceiverId: 'CC1AD845', // Default Media Receiver ID
    }
  },
  sources: [{
    title: 'Big Buck Bunny',
    src: '<MEDIA_URL>',
    type: 'application/x-mpegURL'
  }]
});
1
2
3
4
5
6
7
8
9
10
11
12
13

# Options

Name Type Required Description
appReceiverId String No Chromecast Receiver Application ID (default CC1AD845)

# Supported environments

Browser (OS) Chromecast
Google Chrome on Desktop Supported
Microsoft Edge on Desktop Supported
Android Chrome Supported

Note

Chromecast requires the Cast Sender SDK. Make sure the Chromecast extension or feature is enabled in the viewer's browser.