Skip to content

Fix the DRM example, add a feature modules example, and stop pinning package versions in other examples - #988

Merged
ceyhun-o merged 7 commits into
mainfrom
devin/1795177292-drm-demo-axinom-stream
Nov 20, 2026
Merged

ceyhun-o merged 7 commits into
mainfrom
devin/1795177292-drm-demo-axinom-stream

Conversation

@ceyhun-o

@ceyhun-o ceyhun-o commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This PR changes two Web SDK examples.

DRM example: replace the expired stream

The KeyOS stream in the DRM example has expired. The DRM source is now a single Axinom HLS (CMAF, cbcs) test vector with integration: 'axinom', a test token, and license URLs for Widevine, PlayReady and FairPlay.

  • DrmDemo.tsx: the source label and the "Selected stream" readout match the new stream.
  • 01-drm.mdx: the description now says one HLS stream with three key systems, and links to the Axinom integration guide instead of KeyOS.

New example: feature modules (11.16.0)

New page examples/getting-started/02-feature-modules.mdx, next to "Basic player".

  • feature-modules/demo.html imports only theoplayer/core and theoplayer/hls, plus Open Video UI, and plays Big Buck Bunny (HLS) in <theoplayer-default-ui>.
  • An import map loads THEOplayer from cdn.theoplayer.com. Open Video UI loads from unpkg @2, like the other examples; Lit stays pinned on jspm because Open Video UI imports it by bare name. theoplayer/chromeless maps to module/core.js, because Open Video UI imports the player from it.
  • FeatureModulesDemo.tsx shows the imported modules, THEOplayer.features and THEOplayer.version in a box under the player.
  • The page links to How to use THEOplayer feature modules.

Debug display example: load Open Video UI @2 from unpkg

  • Open Video UI and its debug module load from unpkg @2, like the other examples, instead of a pinned 2.6.1 from jspm. Lit is updated to 3.3.2.
  • THEOplayer still loads from cdn.theoplayer.com.

Conviva and Yospace examples

  • The connectors load @3 from unpkg instead of a pinned 3.3.2 / 3.0.0.

Testing

  • npm run lint, npm run typecheck and npm run check-format pass.
  • DRM: tested in Chrome on Linux with the production license. The Widevine license request returns 200 and playback advances. PlayReady (Edge) and FairPlay (Safari) were not tested.
  • Debug display: tested on the local dev server in Chrome. The debug button opens the debug display, which shows THEOplayer 11.16.0 / UI 2.8.2 while playing.
  • Feature modules: tested on the local dev server in Chrome, in light and dark mode. THEOplayer.features is ["hls"] and playback advances.

… stream

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@theoplayer-bot

This comment has been minimized.

Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
@devin-ai-integration devin-ai-integration Bot changed the title Replace the expired DRM stream in the DRM example with an Axinom test stream Replace the expired DRM example stream and add a feature modules example Nov 20, 2026
@ceyhun-o
ceyhun-o marked this pull request as ready for review November 20, 2026 13:19
@ceyhun-o
ceyhun-o requested a review from a team as a code owner November 20, 2026 13:19
@ceyhun-o
ceyhun-o requested a review from turbidwater November 20, 2026 13:19
devin-ai-integration Bot and others added 2 commits November 20, 2026 13:24
Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
…mple

Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
@devin-ai-integration devin-ai-integration Bot changed the title Replace the expired DRM example stream and add a feature modules example Fix the DRM and debug display examples, and add a feature modules example Nov 20, 2026
Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
@devin-ai-integration devin-ai-integration Bot changed the title Fix the DRM and debug display examples, and add a feature modules example Fix the DRM example, add a feature modules example, and update Open Video UI in the debug display example Nov 20, 2026
Comment on lines +32 to +33
Open Video UI imports the player from "theoplayer/chromeless", so that name points to "theoplayer/core" as well:
the player then only has the features that are imported below.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We'll want to fix this in Open Video UI too, but that will probably need a major bump. For now, this'll work just fine. 👍

devin-ai-integration Bot and others added 2 commits November 20, 2026 15:33
Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
Co-Authored-By: Ceyhun Ozgoc <ceyhun.ozgoc@dolby.com>
@devin-ai-integration devin-ai-integration Bot changed the title Fix the DRM example, add a feature modules example, and update Open Video UI in the debug display example Fix the DRM example, add a feature modules example, and stop pinning package versions in other examples Nov 20, 2026
@ceyhun-o
ceyhun-o merged commit 09eaab9 into main Nov 20, 2026
2 checks passed
@ceyhun-o
ceyhun-o deleted the devin/1795177292-drm-demo-axinom-stream branch November 20, 2026 15:53
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.

3 participants