player
player copied to clipboard
support dashjs 5
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
👍
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).
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.