Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Enable Flash #1505

Closed
wangliuzheng opened this issue Dec 22, 2015 · 7 comments
Closed

How to Enable Flash #1505

wangliuzheng opened this issue Dec 22, 2015 · 7 comments

Comments

@wangliuzheng
Copy link

How to Add plugins (flash, video player) To ChromiumWebBrowser ?
ChromiumWebBrowser can't load video . show a black area. How Can I resovle it ?
Thanks.

@amaitland amaitland changed the title [ CefSharp/ 45 ] How to Add plugins (flash, video player) To ChromiumWebBrowser [ CefSharp/ 45 ] How to Add plugins (flash, video player) Dec 22, 2015
@amaitland
Copy link
Member

Download and install Pepper Flash see https://bitbucket.org/chromiumembedded/cef/issues/1586/add-pepper-flash-plugin-support#comment-16898332 for details on where to get a copy.

@wangliuzheng
Copy link
Author

@amaitland thanks, with that way ,I had got it, As a newer , but I still have some problems, my video MP4 , my mp3 , can't play , how can i do ? why my cefsharp/45 doesn't contains ffmpegsumo.dll ...

@amaitland
Copy link
Member

amaitland commented Dec 23, 2015

See the change log for details about ffmpeg. Proprietary formats are not supported due to licensing restrictions.

@amaitland
Copy link
Member

If flash is sorted then please close this issue. Thanks

@qidongxi2012
Copy link

so good

@amaitland amaitland changed the title [ CefSharp/ 45 ] How to Add plugins (flash, video player) How to Enable plugins Flash Mar 9, 2016
@amaitland amaitland changed the title How to Enable plugins Flash How to Enable Flash Mar 9, 2016
@michal1106
Copy link

You can find PPAPI standalone download link
for windows in this page https://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html search for Flash Player for Opera and Chromium-based browsers - PPAPI
for os x https://get.adobe.com/flashplayer/download/?installer=FP_17_Mac_for_Opera_and_Chromium_-_PPAPI&standalone=1

After installation on windows go to
C:\Windows\SysWOW64\Macromed\Flash
You should see there pepflashplayer dll
You can copy it over to your soltuion and add the following line to your code
Cef.AddWebPluginPath(@"./pepflashplayer32_21_0_0_197"); // Flash 21.0.0.197
This how you can verify that whomever using your product would have the appropriate Flash version

p.s. the default "Non-PPAPI" Flash version would display a plugin icon and the message
Adobe Flash Player needs your permission to run

@amaitland
Copy link
Member

@michal1106 Your post come across as being a requirement, so just clarifying that you can simply install the PPAPI Flash Player from Adobe and it will be used by default without manual file copying or setting plugin paths.

for os x https://get.adobe.com/flashplayer/download/?installer=FP_17_Mac_for_Opera_and_Chromium_-_PPAPI&standalone=1

CefSharp only runs on Windows.

This how you can verify that whomever using your product would have the appropriate Flash version

This is questionable in terms of licensing as to my knowledge Adobe don't provide a license for distributing just the binary, so whilst you can technically do this, make sure you perform due diligence and check the licensing first. Also you then become responsible for providing security updates.

You can also load the pepflashplayer.dll that's provided by Google Chrome, again I'm not advocating this, it's just technically possible. (Query registry, get Chrome location, load manually).

p.s. the default "Non-PPAPI" Flash version would display a plugin icon and the message
Adobe Flash Player needs your permission to run

You have control over Plugin Placeholders, see https://bitbucket.org/chromiumembedded/cef/issues/1708/add-support-for-plugin-placeholders-and

FYI NPAPI support has been removed from Chromium, so be aware that using the older NPAPI Flash Plugin is no longer supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants