This example demonstrates configuring the plugin with alternating style and colors to display variation.
Alternating Style Config
The style name alternate
can be configured like so:
.marker-cue.alternate { background-color:#FFFFFF !important; }
Configuring the selector
{
"marker": {
"alternate": "alternate"
}
}
<div class="flex w-full">
<div id="alternate-style" class="is-alternate"></div>
</div>
<script type="text/javascript">
var player = flowplayer("#alternate-style", {
"clip": {
"markers": [
{
"endTime": 180,
"startTime": 120
},
{
"endTime": 360,
"startTime": 300
},
{
"endTime": 570,
"startTime": 510
}
],
"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": {
"alternate": "alternate"
},
"share": false
});
</script>