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

WSTEAM1-1581: Implement No JS message for media loaders without placeholders #12270

Draft
wants to merge 5 commits into
base: latest
Choose a base branch
from

Conversation

karinathomasbbc
Copy link
Contributor

@karinathomasbbc karinathomasbbc commented Jan 13, 2025

Resolves JIRA https://jira.dev.bbc.co.uk/browse/WSTEAM1-1581

Overall changes

Displays a translated message instead of the media player (along the lines of: "To play this content, please enable JavaScript, or try a different browser") if Javascript is disabled

Code changes

  • Add a noscript block to the media container, so that the No JS message can be rendered as expected

Testing

Disable JS and navigate to http://localhost:7080/hausa/bbc_hausa_radio/liveradio
The No JS message should be displayed as expected

Screenshot 2025-01-13 at 14 54 04

@karinathomasbbc karinathomasbbc self-assigned this Jan 13, 2025
@karinathomasbbc karinathomasbbc changed the title Implement No JS message for media loaders without placeholders WSTEAM1-1581: Implement No JS message for media loaders without placeholders Jan 13, 2025
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.

1 participant