This example demonstrates playing youtube videos with other formats include standard html5 videos.
Players set as is-splash
will have the backgrounds dynamically configured with Youtube poster images.
<div class="flex w-full">
<div id="multi-playlist" class="is-splash">
<a class="fp-prev">prev</a>
<a class="fp-next">next</a>
</div>
</div>
<script type="text/javascript">
var player = flowplayer("#multi-playlist", {
"playlist": [
{
"sources": [
{
"src": "http://www.youtube.com/watch?v=Vpg9yizPP_g",
"type": "video/youtube"
}
]
},
{
"sources": [
{
"src": "//videos.electroteque.org/bitrate/big_buck_bunny_600k.mp4",
"type": "video/mp4"
}
]
},
{
"sources": [
{
"src": "http://www.youtube.com/watch?v=MFg8mBaMoPs",
"type": "video/youtube"
}
]
}
],
"share": false
});
</script>