Skip to content

fix: install Shaka polyfills for DASH/MPD playback#133

Merged
birme merged 1 commit intomasterfrom
fix/shaka-polyfill-and-mpd-playback
Feb 13, 2026
Merged

fix: install Shaka polyfills for DASH/MPD playback#133
birme merged 1 commit intomasterfrom
fix/shaka-polyfill-and-mpd-playback

Conversation

@alexbj75
Copy link
Contributor

Summary

  • Add shaka.polyfill.installAll() call before creating a Shaka Player instance — required by Shaka Player v4 for DASH/MPD playback to work
  • Change import from named { Player } to default shaka import to access the polyfill namespace
  • Comment out dead MPD LIVE demo stream URL (returns 404)

Root cause

Shaka Player v4 requires shaka.polyfill.installAll() to be called before instantiation. Without it, Player.isBrowserSupported() returns false and MPD streams fail to load. This was missing on all branches including master.

Test plan

  • All 13 unit tests pass
  • Verify DASH VOD playback works in Chrome/Firefox with the demo
  • Verify DASH stream loads without errors in browser console

🤖 Generated with Claude Code

Shaka Player v4 requires shaka.polyfill.installAll() to be called
before instantiating a Player. Without this, isBrowserSupported()
returns false and DASH/MPD playback fails silently.

Also comments out the dead MPD LIVE demo stream (404).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@birme birme merged commit c14ac9a into master Feb 13, 2026
2 checks passed
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.

2 participants