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

fix issues with fullscreen under Safari #2762

Merged
merged 1 commit into from Apr 17, 2020
Merged

Conversation

igorko
Copy link
Contributor

@igorko igorko commented Apr 3, 2020

Fixes issues with running fullscreen from iframe.
In old version of mediaplayer(v2) there was no check for IOS, but only HAS_IOS_FULLSCREEN which returns true on MacOSX. Fullscreen was working correctly (when executing on video element). Now because IS_IOS was added, different if branch is executed and Safari throws fullscreen iframe policy error(when executing on mejs element). This change makes fullscreen again working for cases it was working in older versions.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 74.487% when pulling d8cd02c on igorko:safari into 80b658f on mediaelement:master.

@karawitan karawitan merged commit 6627931 into mediaelement:master Apr 17, 2020
@igorko igorko deleted the safari branch April 17, 2020 11:59
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.

None yet

3 participants