Skip to content

WS-2239 - iPlayer-Style Watch URL Approach for Video SEO - [SPIKE] [DNM]#14042

Draft
pvaliani wants to merge 7 commits into
latestfrom
WS-2239-watch-url-article-poc
Draft

WS-2239 - iPlayer-Style Watch URL Approach for Video SEO - [SPIKE] [DNM]#14042
pvaliani wants to merge 7 commits into
latestfrom
WS-2239-watch-url-article-poc

Conversation

@pvaliani
Copy link
Copy Markdown
Contributor

@pvaliani pvaliani commented May 20, 2026

Resolves JIRA: https://bbc.atlassian.net/browse/WS-2239

Summary

  • PoC Spike which creates a new watch route to support video-first state on MAP pages to load video content from the page directly in a modal view
  • When the modal is closed, the page routes to the article page without the page reloading
  • Implemented on the Hindi service only
image image

Code changes

  • See files changed

Testing

  1. Run Simorgh and visit http://localhost.bbc.com:7081/hindi/watch/cm2pvpr2dy7o?renderer_env=live - the player should open instantaneously

Useful Links

@pvaliani pvaliani changed the title WS-2239 - iPlayer-Style Watch URL Approach for Video SEO - [SPIKE] WS-2239 - iPlayer-Style Watch URL Approach for Video SEO - [SPIKE] [DNM] May 20, 2026
@pvaliani pvaliani self-assigned this May 21, 2026
setIsVideoModalOpen(false);

if (watchArticlePath && typeof window !== 'undefined') {
window.history.replaceState(window.history.state, '', watchArticlePath);
Copy link
Copy Markdown
Contributor Author

@pvaliani pvaliani May 26, 2026

Choose a reason for hiding this comment

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

This only updates the browser address bar/history entry fyi to meet the ticket criteria of no re-render but there may be a better way for productionisation

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