player icon indicating copy to clipboard operation
player copied to clipboard

support dashjs 5

Open Mister-Hope opened this issue 11 months ago • 2 comments

Dashjs v5 is released, and it introduces some breaking changes, not sure whether vidstack dash provider is affected by this.

Ref:

  • https://vidstack.io/docs/player/api/providers/dash/
  • https://github.com/Dash-Industry-Forum/dash.js/releases/tag/v5.0.0
  • https://dashif.org/dash.js/pages/developers/migration-guides/4-to-5.html

Mister-Hope avatar Feb 17 '25 17:02 Mister-Hope

👍

also want to add that the current vidstack setup guide installs dashjs without version tag, hence you'd get the latest version (v.5).

however, except from vidstack throwing a console error about not being able to load dashjs, videos seem to play just fine (in my simple implementation - not sure about the complete feature set though).

jsve avatar Mar 21 '25 14:03 jsve

So this is the reason the guide didn't work for me. I had to use import * as DASH but dynamic imports seems to be completely broken.

wintercounter avatar Mar 23 '25 19:03 wintercounter