Blazorise icon indicating copy to clipboard operation
Blazorise copied to clipboard

Update Video player to new library

Open stsrki opened this issue 2 years ago • 4 comments
trafficstars

The Plyr.js is going to be obsolete by the new library at some point https://github.com/sampotts/plyr/issues/2408

We must plan for the upgrade once it is stabilized and exits beta.

New Library: https://www.vidstack.io/

stsrki avatar Aug 07 '23 11:08 stsrki

Its almost there https://github.com/vidstack/player/discussions/categories/releases ... so many things there I would love/need to see in Blazorise.

sturlath avatar Mar 24 '24 11:03 sturlath

Hopefully, there will not be a lot of breaking changes.

stsrki avatar Mar 24 '24 13:03 stsrki

@stsrki would it be possible to abstract it in a way that you can have multiple video providers? Like we did for Captcha? There can be people that already depend on the old player funcionality and almost always these kind of migrations lead to stuff breaking or just working differently. Would you think that'd be worth it?

David-Moreira avatar May 10 '24 08:05 David-Moreira

It might be possible as long as they share similar features so that the API can be abstracted. I will know as soon as I start working on it. But the general idea for the future is to create most of the extensions that way by abstracting and then implementing different libraries.

stsrki avatar May 10 '24 08:05 stsrki

Working on this. So far, we can

  • play all videos
  • set DRM protection
  • load dash or hls on demand

We are still missing some APIs from plyr. Hopefully, I will be able to find an alternative.

stsrki avatar Jul 04 '24 11:07 stsrki