Spotify - Enable secure playback problem
Posted:
Sun Sep 06, 2020 9:24 am
by battila
Hi Guys,
I embedded the cefsharp web browser in my audio player to use the Spotify web player in it, but when I want to log in with my account, I get this message:
The problem is secure playback is not supported. Is there a solution in cefsharp to use secure authentication?
Thanks is advance.
Re: Spotify - Enable secure playback problem
Posted:
Mon Sep 14, 2020 6:58 am
by battila
Thanks for the reply. I use the following activation code, but it doesn't make any difference:
settings.CefCommandLineArgs.Add("persist_session_cookies", "1");
settings.CefCommandLineArgs.Add("enable-automatic-password-saving", "enable-automatic-password-saving");
settings.CefCommandLineArgs.Add("enable-password-save-in-page-navigation", "enable-password-save-in-page-navigation");
settings.CefCommandLineArgs.Add("cache-path", @"C:\Chrome\1");
settings.CefCommandLineArgs.Add("enable-widevine-cdm", "1");
settings.CefCommandLineArgs.Add("ppapi-flash-path", @"pepflashplayer.dll");
settings.CefCommandLineArgs.Add("enable-npapi", "1");
settings.CefCommandLineArgs.Add("allow-running-insecure-content", "1");
settings.CefCommandLineArgs.Add("enable-media-stream", "1");
Cef.RegisterWidevineCdm(Path.Combine(System.Environment.CurrentDirectory, @"WidevineCdm"));
Maybe I missed something.