[Qt-qml] ytapi-jsonviewer -- QML YouTube browser

Niels Mayer nielsmayer at gmail.com
Mon Mar 21 06:36:41 CET 2011


Demo/example using YouTube JSON API with QML:
http://www.youtube.com/watch?v=nQoDcVPynLA

If anybody can figure out how to stream these same videos (not just
the mobile ones, but all YT vids)
using QtMultimediaKit's "Video" QML element, let me know... seems
impossible to use in general, given YouTube's insistence on showing
advertising via Flash on certain videos. That's why I employ
QtWebKit/Flash hack in this example to playback the selected episode
from the Youtube feed: it works, requires very little coding, and
supports captions, translations and annotations features in YouTube.

$ svn co http://ytd-meego.googlecode.com/svn/trunk/playground/ytapi-jsonviewer/
$ cd ytapi-jsonviewer
$ qmlviewer jsontube.qml

-- Niels
http://nielsmayer.com


More information about the Qt-qml mailing list