javascript - flowplayer cuepoints trouble -
hi sorry poor english .i creating bubble cuepoints manually using javascript in flowplayer. on mousehover show information .while page loading want load cue points(bubbles). having duration in seconds. how place bubbles in appropriate position(time). using flowplayer-3.2.16.swf , flowplayer-3.2.12.min.js . kindly me .
cuepoints can added video adding data-cuepoints div holding video such:
<div class="flowplayer" data-cuepoints="[6, 7, 8, 9]"> <video preload="none"> <source src="whatever.webm" type="video/webm" /> <source src="whatever.mp4" type="video/mp4" /> <source src="whatever.ogg" type="video/ogg" /> </video> </div>
alternatively can add cuepoints via javascript such:
<script type="text/javascript"> flowplayer.conf.embed = false; flowplayer.conf.fullscreen = true; flowplayer(function (api) { api.cuepoints = [6, 7, 8, 9]; api.bind("cuepoint", function (e, api, cuepoint) { //execute cuepoint javascript }); }); </script>
Comments
Post a Comment