javascript - video.js is not loading/working in IE 9,10 or 11 -


i have been trying videojs working on ie few days , still can't work. have done point follow general setup instructions in documentation here.

i using version 4.12.7 of videojs example. following javascript running on body load:

videojs("example_video_1", {}, function(){     this.src({ type: "video/mp4", src: 'http://video-js.zencoder.com/oceans-clip.mp4' }); });` 

the html follows:

<video id="example_video_1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="264" poster="http://video-js.zencoder.com/oceans-clip.png">         <source src="" type='video/mp4' />          <p class="vjs-no-js">to view video please enable javascript, , consider upgrading web browser <a href="http://videojs.com/html5-video-support/" target="_blank">supports html5 video</a></p>     </video> 

i have tried loading src attribute through setting directly in html , through javascript, nothing working.

this same exact code works in chrome , firefox.

the errors generated in ie below. running video.dev.js file can read code section errors easily.

enter image description here

enter image description here

enter image description here

anyone else happen run issue , know of fix this?

the post above stdob fix issue. adding try/catch around 2 sections of functions cancontrolvolume , cancontrolplaybackrate allowed javascript continue processing , allow videojs script finish initializing. stdob.

link answer here.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -