Hi, Many thanks for your answer!
I tried WebView and it worked pretty well. I currently tested it only on android, but I think it should also work on iOs. My biggest concern with WebView was, that it could look more like a "video in a browser" and less than a mediaplayer, but together with the youtube fullscreen mode it worked really well. @Konstantin Tokarev: Thanks for the info. Haven't thought about that, but that's actually a good point ;) Thanks, Bernhard 2017-02-13 16:39 GMT+01:00 Jason H <[email protected]>: > I think I remember seeing that 5.8 (or was it 5.9?) WebView supports DRM > codecs so you could make a player for almost any site. There was some > hinting that you'd have to copy some DLLs over for one of them though. > > > *Sent:* Sunday, February 12, 2017 at 1:59 PM > *From:* "Bernhard B" <[email protected]> > *To:* [email protected] > *Subject:* [Interest] What's the best way to play youtube videos? > (android/iOs/windows) > Hi, > > I would like to play youtube videos directly in my application. Has > someone already done that and can give me some tips on how to accomplish > that? > > I already tried to use QML's MediaPlayer with the mp4 URL (extracted with > the Youtube API) as source, but unfortunately that doesn't work. > > Another possibility would probably be to use the WebView and play the > video in fullscreen mode, but I am not sure if that works on all platforms > and if I can also embed the video in other QML components that way (haven't > tested it yet). > > What do you guys recommend? > > Thanks, > Bernhard > _______________________________________________ Interest mailing list > [email protected] http://lists.qt-project.org/ > mailman/listinfo/interest >
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
