简体   繁体   中英

CefSharp Browser Video Won't Play

I'm using CefSharp Winforms x86 build. I want to play a video from this link :

http://developers.canal-plus.com/rx-player/

In google chrome it's working but my CefSharp WinForm Browser can't play any of these. I checked javascript is enabled. Am i missing something ? This page doesn't require any flash player. It's HTML5 player.

CefSharp is based on CEF which is based on Chromium. Chromium does not support proprietary audio and video formats only Google Chrome does (see Chromium documentation ).

If you need proprietary codec support you need to build CEF/Chromium on your own . There are no plugins/extensions which enable this functionality.

See also previous SO questions related to this topic 1 2 etc.

I faced the same issue and found a walk around it!

I convert mp4 to gif using this link (you can disable the gif looping) and i extracted the audio out of the video and i played it synchronically using C#

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM