QWebView won't play YouTube videos?
I tried both Qt 5.3.1 mingw and PyQt 5.3.1 and couldn't get any videos to play in a QWebView browser? Any ideas why won't QWebView play Youtube html5 videos?
All examples show that these lines should be sufficient:
Code:
QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
ui->webView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
Re: QWebView won't play YouTube videos?
I don't think you need plugins for HTML5's video tag, that would be for using Flash.
Have you tried with a local video?
Cheers,
_