I have developed one API for HTML5 Video. The specialty of the plugin is viewer can change the being played video. (Changing different source url through JQuery).
I almost done the task. But its not working in ie9. Let me share the source file here.
$hdVideo.attr('src', videoAttr.src[i]);
gPlay();
createSeek();
createBuffer();
playerstage=0;
the first line will inject the new source file to the video element. It works perfectly in all major browsers, except ie9. I couldn’t even check the running html coding in ie9 (when we make some changes though js, its not get reflected in inspect element).
The link is at: http://iseofirm.net/appthateam/vel/static3/
I got the solution myself, finally!!!!!
Problem:
IE9 indexes the first tag, even though we inject src=”” into tag through jQuery
Solution:
When the player starts, inject “src” value of first “source” element into tag.
Then write function to inject corresponding “source url” into tag’s src=”” attribute…