GithubHelp home page GithubHelp logo

Comments (18)

heff avatar heff commented on May 14, 2024

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.

from video.js.

krzkrzkrz avatar krzkrzkrz commented on May 14, 2024

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

from video.js.

gkatsev avatar gkatsev commented on May 14, 2024

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.

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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

from video.js.

gkatsev avatar gkatsev commented on May 14, 2024

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

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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.

from video.js.

gkatsev avatar gkatsev commented on May 14, 2024

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

from video.js.

heff avatar heff commented on May 14, 2024

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.

from video.js.

gkatsev avatar gkatsev commented on May 14, 2024

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.

from video.js.

heff avatar heff commented on May 14, 2024

The function is in there if it works. https://github.com/videojs/video.js/blob/master/src/js/media/html5.js#L174

from video.js.

gkatsev avatar gkatsev commented on May 14, 2024

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

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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!

from video.js.

heff avatar heff commented on May 14, 2024

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

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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.

from video.js.

avaranovich avatar avaranovich commented on May 14, 2024

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

from video.js.

alecguintu avatar alecguintu commented on May 14, 2024

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

from video.js.

heff avatar heff commented on May 14, 2024

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

from video.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.