Regarding javascript help, I’m using the video.js player, this currently works:
<video id="_1200k.mp4" class="video-js vjs-default-skin"
preload="none" width="445" height="340" controls
poster="[var.thumb_file]" data-setup='{techOrder: [‘flash’,’html5’}'>
<source src="http://www...com/uploads/[var.video_play]" type='video/mp4' />
</video>
But, in IE8 that code also needs this flowplayer fallback code within the video tags:
<object class="vjs-flash-fallback" width="445" height="340" type="application/x-shockwave-flash" data="https://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
<param name="movie" value="/flowplayer/flowplayer-3.2.16.swf" />
<param name="flashvars" value='config={"playlist":["/[var.thumb_file]", {"url": "http://../uploads/[var.video_play]","autoPlay":false,"autoBuffering":true}]}' />
<img src="[var.thumb_file]" width="640" height="264" alt="Poster Image" title="No video playback capabilities." />
</object>
However, it’s my understand that there’s no need for the flowplayer fall-back, because video.js has a fallback built-in. So, I’m trying to get rid of flowplayer, as a back-up.
In here: https://github.com/videojs/video.js/blob/stable/docs/guides/setup.md
under “Alternative Setup for Dynamically Loaded HTML” it says to add this(somehow):
videojs("example_video_1", {}, function(){});
I’m just not sure where that would go. Any comments/insight you might have will be appreciated.