I am hoping this is an easy request... But after spending many hours I am at a loss to get the flash part to loop. In the controls for the video tags I can add loop and autoplay but I am not getting the flashvars part to loop. I think I need to use the onbeforfinish command but again I am getting the santax wrong.
Please any one help?
Best regards Dave
% HTML <html> <head> <title></title> <script src="/zencoder/video.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> // If using jQuery // $(function(){ // VideoJS.setup(); // }) window.onload = function(){ VideoJS.setup(); } </script> <link rel="stylesheet" href="/zencoder/video-js.css" type="text/css" media="screen" title="Video JS" charset="utf-8"> </head> <body id="body"> <div class="video-js-box"> <video id="video" class="video-js" width="640" height="264" poster="URLtoPreviewImage.png" autobuffer> <source src="URLtoTheMovie.mp4" type="video/mp4"> <source src="URLtoTheMovie.ogg" type="video/ogg"> <object width="640" height="264" type="application/x-shockwave-flash" data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf"> <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" /> <param name="allowfullscreen" value="true" /> <param name="flashvars" value='config={"clip":"URLtoTheMovie.mp4"}' /> <img src="URLtoPreviewImage.png" width="640" height="264" alt="Poster Image" title="No video playback capabilities." /> </object> </video> </div> </body> </html> %
Kroc added on
I have fixed the bug, and restored your original text :)