Demonstrate casting with HLS streams.
<div class="flex w-full">
<div id="hls" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#hls", {
"chromecast": {
"castAppID": "2AAE3BDF",
"debug": true
},
"clip": {
"castInfo": {
"images": [
{
"url": "http://192.168.5.25:8000/plugins//flowplayer/flowplayer7/chromecast/images/stills/bbb_still.png"
}
],
"subtitle": "Subtitle",
"title": "Big Buck Bunny"
},
"sources": [
{
"src": "https://videos.electroteque.org/hls/bigbuckbunny/playlist.m3u8",
"type": "application/x-mpegurl"
}
]
},
"share": false
});
</script>