Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

fix firefox not allowing fullscreen #3990

Merged
merged 5 commits into from
Nov 18, 2020
Merged

Conversation

jroebu14
Copy link
Contributor

@jroebu14 jroebu14 commented Nov 13, 2020

Overall change:
Fixes media player not being able to go into full screen mode in Firefox < 77.

Code changes:

  • Removes fullscreen from allow attribute on iframe because if allow="fullscreen" and allowfullscreen are both present on an iframe element, then the more restrictive allowlist of allow="fullscreen" will be used which didn't work in FF.

  • I have assigned myself to this PR and the corresponding issues
  • Automated jest tests added (for new features) or updated (for existing features)
  • This PR requires manual testing

@jroebu14 jroebu14 changed the title fix firefox now allowing fullscreen fix firefox not allowing fullscreen Nov 13, 2020
@jroebu14 jroebu14 added the ws-media The World Service media stream label Nov 13, 2020
@jroebu14 jroebu14 self-assigned this Nov 13, 2020
@jroebu14 jroebu14 marked this pull request as ready for review November 16, 2020 10:01
Copy link
Contributor

@RichardPK RichardPK left a comment

Choose a reason for hiding this comment

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

:shipit:

@LilyL0u
Copy link
Contributor

LilyL0u commented Nov 16, 2020

Tested this on Storybook. The fullscreen button now works in Firefox 77 for all the Media Player variations in storybook.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ws-media The World Service media stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants