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

OSX Flash player broken since 0.15.0 #5068

Closed
Blatman opened this issue Jul 2, 2016 · 3 comments
Closed

OSX Flash player broken since 0.15.0 #5068

Blatman opened this issue Jul 2, 2016 · 3 comments
Assignees

Comments

@Blatman
Copy link

Blatman commented Jul 2, 2016

Still having troubles with this since #4826.
Using PepperFlash from Chrome Canary which now appears to include a manifest.json file.
It appears that up to 0.14 any installed flash within NW.js package would work OK even without chromium-args specified in package.json and if not available then system installed pepper flash would be used.
Since 0.15.0 I can't use flash installed within NW.js and can only use system installed pepper flash if the manifest.json is set lower than 21.0.0.213

Tests::
For the following tests the system installed PepperFlash is 21.0.0.242
System flash will be located at –
Macintosh HD/Library/Internet Plug-ins/PepperFlashPlayer/
Note: the manifest.json file is set for "x-ppapi-arch": "mac",
The manifest.json file for the NW.js installed flash is set to "x-ppapi-arch": "x64",

0.14.5 OSX x64 SDK
PepperFlash 22.0.0.200 installed in NW.js
Manifest.json set to 22.0.0.200
No chromium-args used in package.json
Webview tag used in HTML.

PepperFlash works OK and About Flash shows 22.0.0.200
If the NW.js PepperFlash is not available then the system installed PepperFlash is used and About Flash shows 21.0.0.242.
If there is no flash available at all then webview will show a white rectangle.

0.15.0 OSX x64 SDK & 0.15.5 OSX x64 SDK
PepperFlash 22.0.0.200 installed in NW.js
Manifest.json set to 22.0.0.200
No chromium-args used in package.json
Webview tag used in HTML.

PepperFlash FAIL’s and webview shows –
Adobe Flash Player needs your permission to run.
If the manifest.json is changed to 21.0.0.182 (flash still 22.0.0.200) the plugin will not work but NW.js will use the system installed PepperFlash and work OK – About Flash will show 21.0.0.242.
If the manifest.json was changed to 21.0.0.213 the system flash would not be used.

If there is no flash available at all then webview again the permission error.

It seems that up to 0.14 flash worked OK but something changed prior to 0.15.0 and flash will only work if the system installed flash is available but only if the version in manifest.json is lower than 21.0.0.213 (eg: 21.0.0.182).

I also tried flash on Win 10 and got similar results - 0.14 and prior was fine - maybe more clarity is required on the chromium-args path method but 0.14 and prior didn't need them and worked fine.

The test project is the same as per #4826.
PepperFlashTest.zip

Also took note of #4979 for the Win scenario but couldn't get the chromium-args to work for me although I don't have PepperFlash installed on the Win 10 system at all.

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@rogerwang
Copy link
Member

@Blatman
Copy link
Author

Blatman commented Jul 6, 2016

Thanks Roger - tried osx-sdk-x64 with 22.0.0.200 and works well.

ghostoy pushed a commit to ghostoy/nw.js that referenced this issue Aug 2, 2016
This test case contains pepper flash players for Windows, Mac and
Linux.
ghostoy pushed a commit to ghostoy/nw.js that referenced this issue Aug 2, 2016
This test case contains pepper flash players for Windows, Mac and
Linux.
rogerwang added a commit that referenced this issue Aug 3, 2016
@ghostoy ghostoy removed the test-todo label Aug 24, 2016
rogerwang pushed a commit that referenced this issue Aug 30, 2016
This test case contains pepper flash players for Windows, Mac and
Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants