[Qt-interest] How To Embed a Youtube Video in a Qt mobile application?

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Jan 6 05:39:58 CET 2012


> My worry is the the YouTube IFrame API is still experimental. Plus, as a C++
> developer I am not sure how to build a hybrid Qt/C++ with  HTML 5
> application. I need Qt/C++ to access device capabilities and need to set
> HTML5 content to QWebView (something along the lines of :
> http://code.google.com/apis/youtube/iframe_api_reference.html)

If your platform supports the HTML5 audio/video tags then this is
surely a better option.

As for controlling the HTML5 player from your Qt/C++ env, it should be
fairly easy to do via QtWebkit Bridge. You can call the HTML5 players
JavaScript APIs from your native env and vice-versa.

Also not that Flashlite supports only upto ActionScript2 (not 3) and
YouTube has deprecated support for AS2 in their player. So, even
though the player will work with AS2 (they have not removed support
for it) some new features might no be available.

HTH,
-mandeep


>
> -sarvesh
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list