Not playing video Facebook

Having problems with building or using the JCEF Java binding? Ask your questions here.

Not playing video Facebook

Postby zhizhkaigor » Wed Sep 14, 2016 12:44 pm

Hi, all
Using:
JCEF Version = 3.2704.139
CEF Version = 3.2704.1427
Chromium Version = 51.0.2704.84

Flash unavailable :(
When open video in FB, https://www.twitch.tv/
Read more info:https://bitbucket.org/chromiumembedded/cef/issues/1586/add-pepper-flash-plugin-support, https://bitbucket.org/chromiumembedded/cef/issues/1586/add-pepper-flash-plugin-support#comment-16898332,
https://bitbucket.org/chromiumembedded/cef/issues/1624

I trying set settings
Code: Select all
String[] arg = new String["--ppapi-flash-path = C:\...\FlashUtil64_23_0_0_162_pepper.dll","--enable-system-flash"]

myApp = CefApp.getInstance(arg, settings);
But not working for me.
Set CefSetting().cache_path = ....
Again nothing.. :(

Tell me what am I doing wrong :?:
zhizhkaigor
Newbie
 
Posts: 5
Joined: Wed Sep 14, 2016 9:45 am

Re: Not playing video Facebook

Postby magreenblatt » Wed Sep 14, 2016 2:26 pm

It looks like you're using Windows. You need a system install of PPAPI Flash from https://get.adobe.com/flashplayer/otherversions/. Then run CEF with the `--enable-system-flash` command-line flag.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: Not playing video Facebook

Postby zhizhkaigor » Thu Sep 15, 2016 7:56 am

Thank, magreenblatt
All happened 8-)
But, I will describe their actions, can someone come in handy:
1. Set Flash Player https://get.adobe.com/flashplayer/otherversions/
step 1: select OC, step 2: Opera and Chromium
2. And in app add command_line
Code: Select all
myApp = CefApp.getInstance(args, settings);
myApp.addAppHandler(new CefAppHandler() {
@Override
public void onBeforeCommandLineProcessing(String process_type, CefCommandLine command_line) {
       if (process_type.isEmpty()) {
            command_line.appendSwitchWithValue("--enable-system-flash","true");
        }
 });

And only after that it all happened.... :arrow:
zhizhkaigor
Newbie
 
Posts: 5
Joined: Wed Sep 14, 2016 9:45 am

Re: Not playing video Facebook

Postby zhizhkaigor » Fri Sep 30, 2016 3:20 am

Joy had not long :(
I came across the http://www.apple.com/apple-events/september-2016/ (I have not trusted the apple :lol: :lol: :lol: )
and then the video will not play.
Error on the plugins are not available, the application works correctly but the video is not playable.
I tested on the JCEFTest application, and there, too, not play :|
Maybe someone has ideas, I will be grateful :P
zhizhkaigor
Newbie
 
Posts: 5
Joined: Wed Sep 14, 2016 9:45 am

Re: Not playing video Facebook

Postby magreenblatt » Fri Sep 30, 2016 9:51 am

Some videos could be HTML5 using proprietary codecs (e.g. MPEG4). CEF is not built with proprietary codec support due to licensing restrictions.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 13 guests