}
Live Edge source selection and fallback. With pseudo load balancer round robin source selection features.
<div class="flex w-full h-auto my-auto">
<div id="liveedge" class=""></div>
</div>
<script type="text/javascript">
var player = jwplayer("liveedge").setup({
"aspectratio": "16:9",
"playbackRateControls": true,
"plugins": {
"../../js/liveoffline-8.1.0.js": {
"autoreconnect": true,
"failedSourceTime": 60,
"fallbackResolver": true,
"offline": "Offline",
"reconnect": "Reconnecting In ",
"reconnectTime": 30,
"roundRobin": true
}
},
"sources": [
{
"file": "//videos.electroteque.org/bitrate/big_buck_bunny_6001.webm",
"type": "video/webm"
},
{
"file": "//videos.electroteque.org/bitrate/big_buck_bunny_6002.webm",
"type": "video/webm"
},
{
"file": "//videos.electroteque.org/bitrate/big_buck_bunny_600k.webm",
"type": "video/webm"
}
],
"width": "100%"
});
</script>