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

Add sandbox attribute to YouTube and Vimeo IFRAME video player #4567

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

compulim
Copy link
Contributor

Fixes #4566

Changelog Entry

Fixed

  • Fixes #4566. For YouTube and Vimeo <iframe>, add sandbox="allow-same-origin allow-scripts", by @compulim in PR #4567

Description

Adding sandbox="allow-same-origin allow-scripts" to YouTube and Vimeo IFRAME video player.

Specific Changes

  • Adding sandbox="allow-same-origin allow-scripts" to YouTube and Vimeo IFRAME video player
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim marked this pull request as ready for review December 12, 2022 22:00
@compulim compulim added this to the imminent milestone Dec 15, 2022
@compulim compulim merged commit 40124b9 into main Dec 16, 2022
@compulim compulim deleted the hawo/fix-4567-iframe-sandbox branch December 16, 2022 08:09
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.

Add sandbox attribute to YouTube and Vimeo player
2 participants