-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fullscreen #1504
Fullscreen #1504
Conversation
Up to this point we haven't really needed those events to fire when enterFullScreen is used and the native controls take over, because no buttons or other components are visible at least. What's the new case where we need those events in enterfullscreen mode? |
@@ -79,7 +79,8 @@ goog.exportProperty(vjs.Player.prototype, 'supportsFullScreen', vjs.Player.proto | |||
goog.exportProperty(vjs.Player.prototype, 'currentType', vjs.Player.prototype.currentType); | |||
goog.exportProperty(vjs.Player.prototype, 'requestFullScreen', vjs.Player.prototype.currentType); | |||
goog.exportProperty(vjs.Player.prototype, 'cancelFullScreen', vjs.Player.prototype.currentType); | |||
goog.exportProperty(vjs.Player.prototype, 'isFullScreen', vjs.Player.prototype.currentType); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg...
@heff I'm not sure there really is any need for the videojs' fullscreenchange to fire. I can remove these if you think it's not worth having yet. |
If there's no specific use case behind it yet I think we can leave it out and save ourselves some longterm testing and maintenance overhead. If we get a real use case we can always come back to this. The export mistakes still need to be fixed though. :) |
export mistakes have been fixed. |
This event isn't really being used for this usecase right now, so, no need to trigger it.
@heff alright, the exports should be fixed now and we're no longer triggering the |
Being handled by #1511 now. |
isFullScreen
gets exported correctly.enterFullscreen
in the html5 tech, add some functionality to toggleisFullscreen
and trigger the vjsfullscreenchange
event when on ios.