javascript - VideoJS: not working on IOS -
i used videojs , working fine browsers(including ie) , on android . not working on ios devices (iphone , ipad ios version 6).
here code using add video page.
<video id="video1" class="video-js vjs-default-skin" width="276" height="153" controls="" preload="auto" data-setup="{}"> <source src=myvideo.mp4 type="video/m4v" > </video>
i have spent ages , not find solution. m using video.js version 3.2.0 , getting loading spinner forever. tried using version 4 , black screen comes up.
any please.
first put double quotes around source src attribute , try that. if doesn't solve it, sounds problem mp4 itself, because of way it's been encoded or has huge filesize. try using videojs's default movie (http://vjs.zencdn.net/v/oceans.mp4) , see if works. if works, know problem lies movie file itself.
Comments
Post a Comment