I have no idea how to include any video into pages that are shown by QWebView. Neither HTML5-video tag (with any codec) nor Flash-player doesn’t work. I’ve read that it can’t play HTML5 video (I’ve found also kind of a patch, but it doesn’t want to compile anyway). But what is wrong with Flash? I try to play it with the following code.
QString _client = "http://www.chemgapedia.de/vsengine/info/en/help/requirements/flash.html";
ui->_client->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
ui->_client->settings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
ui->_client->setUrl(QUrl(_client));
Who can help? Most likely if there is some way to make HTML5-video work.
↧