Skip to content
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

Closed
vasanthi opened this issue Aug 31, 2010 · 18 comments
Closed

In iPhone, video plays in QuickTime and not in the HTML5 player #37

vasanthi opened this issue Aug 31, 2010 · 18 comments

Comments

@vasanthi
Copy link

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

@heff
Copy link
Member

heff commented May 21, 2013

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.

@heff heff closed this as completed May 21, 2013
@krzkrzkrz
Copy link

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)?

@gkatsev
Copy link
Member

gkatsev commented Jun 25, 2013

Not sure what you mean by Quicktime. Do you mean the native player?
On iPhones, Apple has made the decision that all html5 video plays in the fullscreen, native player rather than letting it play inline.

@alecguintu
Copy link

@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).

@gkatsev
Copy link
Member

gkatsev commented Jun 26, 2013

I think the fullscreen functions currently have problems in minified source.

@alecguintu
Copy link

@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?

@alecguintu
Copy link

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.

@gkatsev
Copy link
Member

gkatsev commented Jun 26, 2013

That is just how apple chose to implement the video element.

@heff
Copy link
Member

heff commented Jun 26, 2013

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.

@gkatsev
Copy link
Member

gkatsev commented Jun 26, 2013

Oh, I was assuming usage of videojs.cancelFullscreen or something like that. Don't we have that function?
But you can exist out of the video programmatically, afaik.

@heff
Copy link
Member

heff commented Jun 26, 2013

@gkatsev
Copy link
Member

gkatsev commented Jun 26, 2013

Yeah, we have a cancelFullscreen as well: https://github.com/videojs/video.js/blob/master/src/js/exports.js#L63

@alecguintu
Copy link

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!

@heff
Copy link
Member

heff commented Jun 27, 2013

We're going to try to get 4.1 out next week. But .dev doesn't have any debug statements that get removed.

@alecguintu
Copy link

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.

@avaranovich
Copy link

@alecguintu could you explain more detailed how did you make it work? I have the same issue, that the default quicktime player kicks in.

@alecguintu
Copy link

@avaranovich It seems that the minified file is either not updated or missing some methods. Use the unminified version.

@heff
Copy link
Member

heff commented Dec 19, 2013

We changed how cancelFullScreen is exported in the next release, 4.4, which should be out soon.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants