-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android 4.1.x - video-js does not load mp4 #1986
Comments
Hi @endrjuskr Do you get any log error? I am using videojs on android 4.1 and it is playing fine. |
Are you opening site with vide-js in I didn't get any log error. On 31 March 2015 at 11:56, Carlos notifications@github.com wrote:
Pozdrawiam, |
Sorry I missed the link. I have taken a look at the video and it seems that when you are in mobile, you change the source from mp4 to m3u8 which is HLS Are you using the HLS plugin (https://github.com/videojs/videojs-contrib-hls) to display the videos?? |
Here is a link, with my embedded video-js which I am trying to open. |
@carpasse But, how can I open mp4 instead of HLS? From Android 4.4 WebView is using native browser and it looks fine. |
@endrjuskr in this new link you serve a mp4 video source in both desktop and mobile. What differs is the way you initialize the player on desktop you use data-setup but on mobile not. I imagine you are initializing the player with js. I don't think the problem is the source but how you initialize the player. On your link, the player is not being properly initialize for mobile. You can see there is no skin and that it loads the default player video controls. I would review the the way you initialize the player on mobile (since it is obfuscated I can not see how is done). Are you passing the proper options. Also it seems that mp4 is only partially supported on android 4.1 http://caniuse.com/#search=mp4 Does the player gets property loaded when you load the page with android 4.1's native browser instead of loading it through a webview??? |
It is loaded correctly on native browser. I will try to change video-js version to not obfuscated and let you know. |
@endrjuskr can you confirm whether or not this can be closed? |
I tried to open http://lv8.tv/the-salvation-official-us-release-trailer-1-2015-mads-mikkelsen-eva-green-movie-hd-12x6ony0l5cy.html?v=4.11.4 provided in #975 in WebView on Android 4.1.2 and video didn't load at all.
Here is how it looks:
I also tried with my own site and apply CSS fix mentioned in #975, but it didn't help.
Do you have any idea, how to solve it?
The text was updated successfully, but these errors were encountered: