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

Feat: added fallback text option to youtube embed #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ShayPunter
Copy link
Collaborator

Fixes: #6193

Suggested changes:

  • Adds fallback text to lite-youtube

How to test:

  1. Clone webdev-infra and checkout branch
  2. Clone d.c.c repository and checkout branch 6193_youtube_embed_should_show_fallback_link_when_js_is_disabled
  3. Setup a sym link between the webdev-infra and d.c.c repository
  4. Navigate to /blog/new-in-chrome-113/ with javascript enabled, you should see the youtube video as expected
  5. Disable javascript
  6. Refresh the page, you should now see the fallback text in place of the youtube video

@ShayPunter ShayPunter marked this pull request as ready for review May 11, 2023 13:03
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.

YouTube embed should show fallback link when JavaScript is disabled
1 participant