sharkiller / Reproductor-MPD-M3U8

Video Player Chrome Extension
https://chrome.google.com/webstore/detail/opmeopcambhfimffbomjgemehjkbbmji
53 stars 10 forks source link

Multiple keys in URL using `&ck=BASE64` #1

Closed MaZED-UP closed 1 year ago

MaZED-UP commented 1 year ago

Is your feature request related to a problem? Please describe. I can't play encrypted MPD videos with multiple keys using &ck=BASE64. It only supports one key in the URL.

Describe the solution you'd like Add support for videos encrypted with multiple keys when using &ck=BASE64 in the URL.

Describe alternatives you've considered Reproductor M3U8 - HLS + DASH Player

Additional context None

sharkiller commented 1 year ago

@MaZED-UP you need to do it in the extension settings.
you add one key as a CK parameter and the rest as in the setting. You can add in there all the sets of clearkey you want, doesnt matter if they are for multiple different sources. Just make a giant array of cks sets. https://github.com/sharkiller/Reproductor-MPD-M3U8/wiki/Configuraci%C3%B3n#formato-de-la-lista-de-clearkeys-personalizadas

Sadly this is a limitation on the player used, JWPlayer only accept 1 single set of clearkey.

The arrays of clearkeys you can set in the settings is a hack to force cks in the dash player used by JWPlayer. But only works if jwplayer try to play the content. If it fail or stop on jwplayer it never reach the dash core.

Maybe when I have time i will try to append the cks from parameter to the cks on the settings option.

image

I made this extension because it use a more powerful player, more customizable and less prone to playback problems.

sharkiller commented 1 year ago

@MaZED-UP dont know if you are still interested but latest version support directly what you asked in the first place.

https://github.com/sharkiller/Reproductor-MPD-M3U8/wiki/Parámetros-de-URL#-formato-de-parámetro-ckcadena-en-base64

MaZED-UP commented 1 year ago

Marvelous! Thank you.