Quantcast
Channel: Qt DevNet forums: Qt WebKit
Viewing all articles
Browse latest Browse all 542

QWebKit, Qt 5.0.2, videos.

$
0
0
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.

Viewing all articles
Browse latest Browse all 542

Trending Articles