Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

c# - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...