PlayBridge Cast Demo
Test page for the window.playbridge.cast() page bridge and the browser's
video detection. Open it in the PlayBridge phone browser.
Page bridge — window.playbridge.cast()
Single video (object form)
One MP4 with full VisualMetadata (title, year, overview, poster).
HLS stream
Casts an HLS master playlist URL — exercises receiver-side manifest handling.
Playlist with startIndex (items form)
Three episodes with per-item season/episode metadata, starting at the second
(startIndex: 1) — exercises the queue.
Bare array form
Payload is a plain array of items — the third accepted shape.
Video detection
DOM <video> element
The element below should appear in the cast sheet via dom_video_element
without pressing anything.
Network-level HLS fetch
Fetches an .m3u8 manifest with XHR — should appear in the cast sheet via
url_pattern_m3u8 / content_type. Reload the page and confirm
the sheet resets to 0, then re-detects after pressing this again.