-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
In iPhone, video plays in QuickTime and not in the HTML5 player #37
Comments
Video.js 4.0 is available now, so this issue may be fixed or out of date. If you think it's still an issue, please confirm using 4.0 and reopen. |
Seems to be an issue, even on 4.0. Even the player on www.videojs.com opens up Quicktime. Are there any specific configuration settings for the HTML5 player to load over Quicktime (on the iPhone)? |
Not sure what you mean by Quicktime. Do you mean the native player? |
@gkatsev Really? I was looking for this also... But is there a way though to close it? I tried using cancelFullScreen but it doesn't close the quicktime (ios native player). |
I think the fullscreen functions currently have problems in minified source. |
@gkatsev But I have tried this in with the dev file (video.dev.js) cause I have read about the problem on minified source but it didn't work. Should cancelFullScreen suppose to also close the quicktime/native ios player as well? |
Also, I think mine is quicktime because at before start of video after fullscreen - I can see the Q logo of quicktime so it really is quicktime. How do I disable that or make it play as HTML5? Using videojs v4.0.4. |
That is just how apple chose to implement the video element. |
I haven't verified, but I'd be surprised if Apple made it possible to exit fullscreen from the API on an iPhone. cancelFullscreen definitely isn't supported (as opposed to webkitExitFullscreen). And yeah, HTML5 video === QuickTime in mobile safari. |
Oh, I was assuming usage of videojs.cancelFullscreen or something like that. Don't we have that function? |
The function is in there if it works. https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L174 |
Yeah, we have a cancelFullscreen as well: https://github.com/videojs/video.js/blob/master/src/js/exports.js#L63 |
Ah now I got it to work. I think I was using the minified version when I tried out the cancelFullScreen - then I probably removed it and moved to the .dev one and mixed my codes already. Follow up question: How do I remove debugs on the .dev version and just do a different minified version? Or do you guys plan to roll out another push with fixed minified version? Thanks! |
We're going to try to get 4.1 out next week. But .dev doesn't have any debug statements that get removed. |
That would be awesome guys! :) Also, what I was asking in .dev also was how to remove the debug (or the logs-in-the-player feature) if we were to use this for production in the meantime. |
@alecguintu could you explain more detailed how did you make it work? I have the same issue, that the default quicktime player kicks in. |
@avaranovich It seems that the minified file is either not updated or missing some methods. Use the unminified version. |
We changed how cancelFullScreen is exported in the next release, 4.4, which should be out soon. |
In iPhone, when loading the page with player, the poster is shown and on clicking, it plays the video in the Quick time player and not in the HTML5 player. Is this the default behavior
The text was updated successfully, but these errors were encountered: