This example demonstrates configuring the plugin with JSON generated data and a chapters menu for changing chapter cues.
Enabling menu
{
"marker": {
"menu": true
}
}
<div class="flex w-full">
<div id="menu" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#menu", {
"clip": {
"chaptersurl": "../data/markers.json",
"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"
}
]
},
"marker": {
"menu": true
},
"share": false
});
</script>