I've been working with video.js and am having trouble getting it to function properly on Internet Explorer. I have added the swf file like this:
videojs.options.flash.swf = "http://vjs.zencdn.net/4.2/video-js.swf "
Here is the code for the video player:
<video id="video" class="video-js vjs-default-skin"
controls preload="none" width="760" height="433"
data-setup='{"example_option":true}'>
<source src="img/0.mp4" type='video/mp4' />
<source src="img/0.webmhd.webm" type='.webmhd.webm' />
<source src="img/0.oggtheora.ogv" type='video/ogg' />
<p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>
</video>
The mp4 file uses h.264 encoding.
Any ideas on what could be causing the issue? If more code needs to be included in this message, just let me know! Thanks so much!