wxWebView and Windows
Re: wxWebView and Windows
OK, I did so.
But the popup still shows up...
But the popup still shows up...
Re: wxWebView and Windows
Here the error logging after I commented out the wxLogNull code line:
"Das System kann die angegebene Datei nicht finden" -> The system cannot find the specified file.
Code: Select all
10:00:12: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.)
10:00:12: Can't set value of 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\webview.exe' (error 2: Das System kann die angegebene Datei nicht finden.)
10:00:12: Failed to find web view emulation level in the registry
Re: wxWebView and Windows
I meant use the code i posted instead of the other one.
If it's just for testing, you could also just set it by hand with regedit.
If it's just for testing, you could also just set it by hand with regedit.
Use the source, Luke!
Re: wxWebView and Windows
OK, commented it out, but the following error pops up:
Code: Select all
10:07:08: Can't open registry key 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' (error 2: Das System kann die angegebene Datei nicht finden.)
10:07:08: Can't set value of 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION\webview.exe' (error 2: Das System kann die angegebene Datei nicht finden.)
Re: wxWebView and Windows
Very strange. The "wxLogNull nolog;" should suppress these messages. Can you check in regedit if this path exists?
Use the source, Luke!
Re: wxWebView and Windows
Hi,
the path does not exist in the registry.
In the log you see HKCU instead of HKEY_CURRENT_USER...
the path does not exist in the registry.
In the log you see HKCU instead of HKEY_CURRENT_USER...
Re: wxWebView and Windows
That's ok, that's an official short-hand. But you can try with the long name.In the log you see HKCU instead of HKEY_CURRENT_USER...
Up to which entry does the path exist?
Use the source, Luke!
Re: wxWebView and Windows
this part exists:
But should the rest of the path not be created by a function call first? (Create?)
Code: Select all
HKCU\Software\Microsoft\Internet Explorer\Main
Re: wxWebView and Windows
I add following line:
No error popups, but the mjpg format is still not supported.
BTW: Still testing with the wxWidgets webview sample.
Code: Select all
#ifdef __WXMSW__
{
wxLogNull nolog; // suppress error messages
wxRegKey rk( wxT("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION") );
rk.Create();
rk.SetValue( wxT("webview.exe"), 11001);
}
#endif
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]
"webview.exe"=dword:00002af9
Re: wxWebView and Windows
Is the streaming link you're testing with public? If yes, can you post it?
There might be another option if you have a webserver that's under your control: Find a JavaScript video player that works with IE11, put it on your website with a script that takes an external URL. Then from your software, use that player and pass the URL for the stream.
There might be another option if you have a webserver that's under your control: Find a JavaScript video player that works with IE11, put it on your website with a script that takes an external URL. Then from your software, use that player and pass the URL for the stream.
Use the source, Luke!
Re: wxWebView and Windows
The link is not public.
Edge under Windows 10 does support *.mjpg, so if webview.exe is told to emulate IE11 I would suspect it works with wxWebView too.
Should I open a Bug? wxWebView works out of the box under macOS and Linux-GTK.
Edge under Windows 10 does support *.mjpg, so if webview.exe is told to emulate IE11 I would suspect it works with wxWebView too.
Should I open a Bug? wxWebView works out of the box under macOS and Linux-GTK.
Re: wxWebView and Windows
wxWebView doesn't use Edge, only IE (which is still present on Windows 10). There is a webview implementation for Edge, but it was abandoned when Microsoft announced they'd switch to Chrome.
https://github.com/wxWidgets/wxWidgets/pull/807
There is also a Chromium backend, but it's a real pain to build it.
viewtopic.php?t=44661
https://github.com/wxWidgets/wxWidgets/pull/807
There is also a Chromium backend, but it's a real pain to build it.
viewtopic.php?t=44661
Use the source, Luke!
Re: wxWebView and Windows
There seems to be work arounds for IE:
https://www.yawcam.com/forum/viewtopic.php?t=3592
But unfortunately this does not work. I also tested it directly with the MS InternetExplorer.
https://www.yawcam.com/forum/viewtopic.php?t=3592
But unfortunately this does not work. I also tested it directly with the MS InternetExplorer.
Re: wxWebView and Windows
Splitting up the mjpg stream is very simple.
I will implement a small widget for this...
I will implement a small widget for this...