Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  14] [ 6]  / answers: 1 / hits: 21571  / 11 Years ago, thu, july 18, 2013, 12:00:00

I used the videojs and it is working fine all browsers(including IE) and on Android . But it is not working on IOS devices (iphone and ipad IOS version 6).



Here is the code which I am using to add the video to the 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 and could not find any solution.
I m using video.js Version 3.2.0 and getting the loading spinner forever.
I tried using version 4 and just black screen comes up.



Any Help please.


More From » ios

 Answers
2

First put double quotes around the source src attribute and try that. If that doesn't solve it, it sounds like the problem is with the mp4 itself, most likely because of the way it's been encoded or it has a huge filesize. Try using videojs's default movie (http://vjs.zencdn.net/v/oceans.mp4) and see if that works. If it works, you know the problem lies with the movie file itself.


[#76907] Wednesday, July 17, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kaleyv

Total Points: 259
Total Questions: 99
Total Answers: 107

Location: Saint Helena
Member since Tue, Nov 3, 2020
4 Years ago
;