This example demonstrates configuring the plugin with playlist items.
<div class="flex w-full">
<div id="playlists" class="">
<a class="fp-prev">prev</a>
<a class="fp-next">next</a>
</div>
</div>
<script type="text/javascript">
var player = flowplayer("#playlists", {
"playlist": [
{
"framesurl": "../../images/contactsheets/big_buck_bunny_400k-[index].jpg",
"sources": [
{
"src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.webm",
"type": "video/webm"
},
{
"src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.mp4",
"type": "video/mp4"
},
{
"src": "https://videos.electroteque.org/bitrate/big_buck_bunny_2000k.ogv",
"type": "video/ogg"
}
]
},
{
"framesurl": "../../images/contactsheets/Elephants_Dream_720-h264-st-aac-[index].jpg",
"sources": [
{
"src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.webm",
"type": "video/webm"
},
{
"src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.mp4",
"type": "video/mp4"
},
{
"src": "https://videos.electroteque.org/bitrate/elephants_dream_2000k.ogv",
"type": "video/ogg"
}
]
}
],
"share": false
});
</script>