Chromecast with Dash

Launch casting session with a Dash stream

Casting with Dash VOD streams. Live Dash streams are supported but may vary in Chromecast.

For Wowza Live Dash streaming in Chromecast, CORS is required to be configured using the httpUserHTTPHeaders config.

    <div class="flex w-full h-auto my-auto">
      <video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="dash"></video>
  </div>
  <script type="text/javascript">
  	var player = videojs("dash", {
    "castInfo": {
        "images": [
            {
                "url": "http://192.168.5.25:8000/plugins//videojs/chromecast/images/stills/bbb_still.jpg"
            }
        ],
        "subtitle": "Subtitle",
        "title": "Big Buck Bunny"
    },
    "plugins": {
        "chromecast": {
            "castAppID": "5C78621A"
        }
    },
    "sources": [
        {
            "src": "//videos.electroteque.org/dash/nodrm/bbb/bbb.mpd",
            "type": "application/dash+xml"
        }
    ]
});
  </script>