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

Netflix not working in nwjs, Widevine component #6425

Open
krneticz opened this issue Jan 26, 2018 · 25 comments
Open

Netflix not working in nwjs, Widevine component #6425

krneticz opened this issue Jan 26, 2018 · 25 comments

Comments

@krneticz
Copy link

@krneticz krneticz commented Jan 26, 2018

Currently, Netflix does not work in nwjs due to the missing Widevine component. Is there a way for it to be added as the plugin or otherwise?

@rogerwang

This comment has been minimized.

Copy link
Member

@rogerwang rogerwang commented Jan 26, 2018

Yeah it should be enabled. Will look into it. Is there anyway to test it without any account? The service is not available here.

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Jan 26, 2018

I tried to lookup way to test it without Netflix account, but no luck. Currently, our users in the UK when tried to play Netflix in our built-in browser (webview) are getting the WideVine missing message. That is in nwjs 27 in webview. If you have some recommendations how to try to make it work, I can try and test with Netflix.

@halton

This comment has been minimized.

Copy link

@halton halton commented Jan 26, 2018

@rogerwang I think the Widewine support only available on Google Chrome browser, Chromium does not support it. Did NW.js add hack to enable it? Like https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1371274.

@alexgor1

This comment has been minimized.

Copy link

@alexgor1 alexgor1 commented Feb 6, 2018

@rogerwang you can test it with DRM video by this link https://demo.castlabs.com/

@GnorTech

This comment has been minimized.

Copy link
Member

@GnorTech GnorTech commented Feb 7, 2018

A test build with this feature will be available soon.

@GnorTech GnorTech self-assigned this Feb 7, 2018
@GnorTech

This comment has been minimized.

Copy link
Member

@GnorTech GnorTech commented Feb 13, 2018

Please try this build: https://dl.nwjs.io/live-build/nw29/02-10-2018/6aee6eb-43410a6-c0aa57f-1b9d678/v0.29.0-beta1/
It should work if you put the plugin ('WidevineCdm' directory of Chrome) in the directory of NW. I didn't test it in webview though.

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Feb 13, 2018

I've tried but Netflix is still complaining about missing Widevine. I've added folder from Chrome 64, maybe that is a problem? Should it be originating from the specific version of Chrome? Is there something to be added as chromium arguments, like we are adding for the Flash plugin?

@GnorTech

This comment has been minimized.

Copy link
Member

@GnorTech GnorTech commented Feb 14, 2018

I used the files from Chrome 64 too. Note that the architecture of the binary file should match: NW.js win-x64 with the win-x64 plugin binary. After that you could see the plugin is listed in navigator.plugins. And nw.exe --url=https://demo.castlabs.com/ works for me. The video is playable.

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Feb 14, 2018

Yes, I added Widevine 64bit to 64bit SDK nwjs. That demo (https://demo.castlabs.com/) works for me too- but it also works without the Widevine folder, so I think that is not a relevant test case. BTW, when I open that page, both with and without the Widevine folder, I see "Selected DRM: none" in the console logs.

@alexgor1

This comment has been minimized.

Copy link

@alexgor1 alexgor1 commented Feb 20, 2018

@GnorTech can you take a look?

Netflix works ok on Mac OS and Linux for this build, but it has new problem with webview on Linux which was absent:
After first resizing of webview it stops to render. So i can load new URL to it and even debug it, but webview's layout shows rendered frame from previous page until i resize webview again. After resizing it refreshes rendered frame, but still doesn't response to any user actions and doesn't render any changes untill next resizing.

Update: since 0.29.3 problem with freezing on resizing disappears. It can be related to fix for #6518

@GnorTech

This comment has been minimized.

Copy link
Member

@GnorTech GnorTech commented Mar 5, 2018

Is there any test case other than Netflix?

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Mar 9, 2018

I have just tested nw 0.29.0 win64 sdk on Windows 8.1 64 bit with WidevineCdm from Chrome 65 64bit placed in nwjs folder, and Netflix is still complaining about missing WidevineCdm.

screen shot 2018-03-09 at 12 39 39 pm

@rogerwang

This comment has been minimized.

Copy link
Member

@rogerwang rogerwang commented Mar 9, 2018

Please provide a case other than Netflix. We cannot use it here. Without a proper case we're not able to move forward...

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Mar 9, 2018

If test case is needed, Netflix offers free 30 days trial, and if outside of US https://www.smartdnsproxy.com can help and also offers the trial.

@rogerwang

This comment has been minimized.

Copy link
Member

@rogerwang rogerwang commented Mar 9, 2018

@krneticz it's really not productive to work around Netflix's location detection... AFAIK they worked hard to ensure it.

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Mar 9, 2018

@rogerwang I understand, it does require extra effort, I'm doing it since I'm located in Serbia (smartdnsproxy works for me). Unfortunately, I just cannot find any other test case!

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Jul 7, 2018

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Dec 5, 2019

@rogerwang It's been a long time, but it seems that we have Netflix demo case that is accessible from anywhere in the world without Netflix account: https://www.netflix.com/title/80018499

I just tested from Serbia, no account on Windows 8 machine. Tests work in Chrome browser but fail in SeeYouLink app based on nwjs 0.40.2

@halton

This comment has been minimized.

Copy link

@halton halton commented Dec 6, 2019

I think Netflix not only check the UA, but also the API, will lead our app based on Chromium63 is not working as well. So upgrade chromium core might be helpful.

@rogerwang

This comment has been minimized.

Copy link
Member

@rogerwang rogerwang commented Dec 7, 2019

Thanks for the link @krneticz , will look into it.

btw, does it work in the Chromium open source browser (not Chrome)?

@krneticz

This comment has been minimized.

Copy link
Author

@krneticz krneticz commented Dec 9, 2019

Unfortunately, it does not :( I tried the latest Chromium on Windows 10, and it fails to play the test. I looked bit about the issue, and it seems that widevine component (dll?) from Chrome can be added to Chromium, but don't have exact recipe or clear case.

@rogerwang rogerwang assigned rogerwang and unassigned GnorTech Dec 9, 2019
@rogerwang

This comment has been minimized.

Copy link
Member

@rogerwang rogerwang commented Dec 9, 2019

@halton I'm confused by your comment, as your company's app is not based on NW as far as I know.

@halton

This comment has been minimized.

Copy link

@halton halton commented Dec 9, 2019

@rogerwang yes, you're right. But we're dealing with similar issue on CDM, that's why I'm here.

@panther7

This comment has been minimized.

Copy link

@panther7 panther7 commented Jan 3, 2020

@halton I'm confused by your comment, as your company's app is not based on NW as far as I know.

Widevine doesn't work on NWjs based app too.

Latest NWjs with included Widevine binary: https://drive.google.com/open?id=1Nd3N0-m3GtDCieXJVfO_R8-huLz0qcu3

@matthiasfostel

This comment has been minimized.

Copy link

@matthiasfostel matthiasfostel commented Jan 27, 2020

The Castlabs demo has two Widevine DRM video examples listed, scroll down for the two Big Bucky videos. They have the DRM icon next to them. All examples are H.264 encoded though.

https://demo.castlabs.com/

Chromium can be compiled with Widevine support. Versions built with support can be found here:

https://chromium.woolyss.com/

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

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.