In my program, I have a QWebView that displays a YouTube video. The code I use has worked perfectly fine for me in the past, however one day I noticed it wasn't working anymore. I have Flash installed, and other websites (google) load just fine. Here is my code:
QNetworkProxyFactory::setUseSystemConfiguration(true);
QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
ui->webView->load(QUrl("https://www.youtube.com/embed/abakM9O_Bos"));
ui->webView->setEnabled(true);
Can anyone explain why this used to work for me in the past but now it isn't? I tried http and https with no luck.