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

Chore: Improve fullscreen logic to use fscreen for compatibility #903

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

jstoffan
Copy link
Collaborator

No description provided.

@boxcla
Copy link

boxcla commented Jan 25, 2019

Verified that @jstoffan has signed the CLA. Thanks for the pull request!

src/lib/Fullscreen.js Show resolved Hide resolved
@@ -84,6 +83,8 @@ class MediaControls extends EventEmitter {
this.handleAutoplay = this.handleAutoplay.bind(this);
this.handleSubtitle = this.handleSubtitle.bind(this);
this.handleAudioTrack = this.handleAudioTrack.bind(this);
this.handleFullscreenEnter = this.handleFullscreenEnter.bind(this);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes were needed for the regular controls?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated all locations where fullscreen was being used. It looks like the fullscreen button for all other viewers is added via BaseViewer.js.

@DanDeMicco
Copy link
Contributor

Double check ios

@jstoffan
Copy link
Collaborator Author

@DanDeMicco, thanks for calling it out. I tested iOS yesterday and it seemed to be working correctly.

@jstoffan jstoffan merged commit aa13d00 into box:master Jan 25, 2019
@jstoffan jstoffan deleted the fullscreen branch January 25, 2019 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants