-
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
5.0-rc.2 - no video playback in Android 4.1 stock browser #2277
Comments
Confirm. Also happens in rc58, but not only in stock browser - for me it's also chrome on android. The video will just not load, the poster image stays there. |
I checked the logs I get on chrome, here is what I get:
Media is there and being served correctly. Same server serves videos to chrome on android with VJS v4. Works on desktop browsers and iOS devices with v5. |
@forbesjo have you done any testing on Android with 5.0 yet? |
This test was done on VJS 5. :-) Was just saying, that the displayed error cannot be true because the media and the network both are the same for a working setup with VJS4. Sorry, I hope it's easier to understand now? |
What device is it? Samsung? |
I can confirm that the issue still appears with the latest rc using 4.1.2 stock browsers on a Samsung phone. 5.0 Android looks ok. The player does not work when I add the IE8 script |
Yes, its a Samsung. But its running Android 5.0 (Cyanogenmod) and Chrome. |
es5-shim doesn't change anything. ;-) |
Seeing this in logcat: I/chromium(14190): [INFO:CONSOLE(10422)] "Uncaught TypeError: videojs is not a function", source: http://10.1.12.72:8080/build/temp/video.js (10422) |
Actually, never mind. |
Ugh, it's really hard to debug on this device. It doesn't want to log anything that is viewable in logcat. |
When I was testing, I used chrome and USB debugging, which actually worked quite well for the log. But I didn't get the error you got, so videojs seems to be initializing correctly. Just doesn't want to play the file... It doesn't matter if I use an mp4 or a webm file, also the number of players I run doesn't change anything. |
Yeah, ignore that error. It isn't relevant. Actually, yeah, I totally forgot to see whether I can inspect using the remote debugging since it's a chromium-based native browser. |
Yes, I tried. When I hit the big play button, it disappears and the controls appear. So I can click on pause - play - pause - play - and so on. That doesn't change anything. If I try to hit the timeline to play the video at some point, the current playback time switches to -1:0-1 and thats it. |
Looks like if you put in |
Looks like on this device, the thing to grep for is |
I have a tentative fix for it locally. |
@gkatsev Can I test it? |
I'll have a PR open/updated soon. |
Adding that option by default for "native android browsers". |
I'll test it with the next rc release. ;-) |
Okay, tested this. Still did not work - so I removed the password protection of the directory in which the video lays and voilà, it works. So it seems, that was the error I made. (The video file was protected with a basic http authentication) Now, there are two new "bugs" since I updated from rc59 to rc60.
I reverted to rc59 for testing and playback on chrome mobile works when the password protection is removed. Sorry for the confusion, didn't expect this to be a problem! EDIT: Get it, I didn't set |
Sorry guys, my macbook seems to have some glitches... I'm at work now, and the described errors don't appear any more. Even on mobile, chrome now plays the video and gives me the controls. It's still a bit buggy, but that is probably caused by my phone. I still have one strange behaviour with webm files, but thats not confirmed (maybe the file) and it's not related to this issue. Will open an issue for this, if needed. EDIT: Sorry to say so, but it happens again. I will just open a proper issue for this, because it doesn't have to do with mobile anymore... |
@moay so, are you seeing this issue anymore or can this be closed? |
OK. I'll close this issue but if it's still occurring for people, we can always reopen. |
Happens on Android 4.1.2 using stock browser ("Internet" app).
Expected: Video starts playing
Actual: No video playback / black screen
Test case: http://jsbin.com/halokodoxo/1/edit?output
Maybe related: #2044, #1986, #975
The text was updated successfully, but these errors were encountered: