weolar / miniblink49

a lighter, faster browser kernel of blink to integrate HTML UI in your app. 一个小巧、轻量的浏览器内核,用来取代wke和libcef
Apache License 2.0
7.22k stars 1.09k forks source link

ffmpeg and widevine #550

Open TetrisSQC opened 2 years ago

TetrisSQC commented 2 years ago

Hi,

this is actually not an issue, but somehow I can not get any video played back using miniblink. Is there something I have to add to my code that ffmpeg is used? And is there support for widevine possible?

Sorry for these questions, but I would really like to get both, or at least ffmpeg working by using the node.dll.

谢谢您 Christian

weolar commented 2 years ago

hi, you can use mbInit api, and ensure plugins\ffmpeg\ffmpeg.dll is exist

Bimbum1337 commented 2 years ago

did you manage to make it work ? i have the same issue

TetrisSQC commented 2 years ago

No unluckily not, it would be nice to get it work. Technically I use edge with an ActiveX component to deal with this case. It is fine, but not what I really would like to have.

Bimbum1337 commented 2 years ago

i actually got it work settings.mask = MB_ENABLE_DISABLE_H5VIDEO;