I have created one QtWebkit based app , and trying to load below mention URL, which if we open in Firefox , it will show as a HTML5 video.
http://www.youtube.com/watch?v=JYc2jP4LLGo&html5=True
In my application I am getting youtube html5 player getting loaded, but it is not displaying any video content.
I tried even in the browser sample application which comes along with the Qt SDK installtion. I am getting the same result as my app is.
below mention is the code which I wrote
QWebView *view = new QWebView();
QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
view->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
view->load(QUrl("http://www.youtube.com/watch?v=cTl3U6aSd2w&html5=True"));
view->setGeometry(50,50, 800, 600);
view->show();
Machine :- both Windows 7 X64, Windows7 ultimate X86 Qt5.1 SDK