<div class="gmail_quote">2012/12/17 Alex Halovanic <span dir="ltr"><<a href="mailto:halovanic@gmail.com" target="_blank">halovanic@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sort of, although I'm not totally sure exactly how the iPad app works at this point...<br><br>Youtube supports two types of video formats: Flash and HTML 5 but not all of their videos have HTML 5 versions. My understanding of the available Youtube APIs is that HTML 5 for supported embedded videos only happens if a) You opt into the HTML5 trial at <a href="http://youtube.com/html5" target="_blank">youtube.com/html5</a> on your browser or b) don't have Flash at all.<br>
<br>In addition, MythNetvision needs to be patched to load the iframe API from youtube, otherwise only Flash video can load. I have a patch to do that against this ticket:<br><a href="http://code.mythtv.org/trac/ticket/11092" target="_blank">http://code.mythtv.org/trac/ticket/11092</a><br>
<br>If you're willing to try it out and let me know what you see, here's what you have to do to enable HTML 5 youtube videos:<br>1) Patch the youtube.html file from ticket 11092.<br>2) Visit <a href="http://youtube.com/html5" target="_blank">youtube.com/html5</a> in Mythbrowser. Confirm it says that HTML 5 is supported for all formats and click the link to join the trial. You need to do this every time you start mythfrontend since it doesn't seem to save the cookie permanently.<br>
3) Search for 'big buck bunny' in Mythnetvision and start playing. If you right click on it, you should see a different menu from the Flash one.<br><br>Caveats:<br>-There are some focus issues, although I think these exist with the normal Flash player as well in some circumstances. If you click on a video with your mouse, the remote control keybindings won't work anymore. I'd recommend having a keyboard/mouse connected and disabling the 'hide mouse cursor' setting in Myth's appearance menu for now.<br>
-The iframe player has a tiny red progress bar at the bottom to show the playback status that you can't seem to get rid of. Might annoy some people.<br>-This tends to crash out mythfrontend, especially on trying to exit the video. I think this is reduced most by *pausing* the video before trying to exit it. Depending on how much Flash crashes for you, this may still be an improvement.<br>
-Video still has some tearing and is not as hardware accelerated as it could be. This is because of how the QT library is drawing it using Cairo, I believe. I hadn't looked too closely at what it would take to enable something like VDPAU here. For my case, performance still seems better than unaccelerated Flash.<br>
-You either have to remove the Flash plugin permanently (and lose all Flash-only videos) or repeatedly opt into the HTML 5 trial for every time you restart mythfrontend.<span class="HOEnZb"><font color="#888888"><br><br>
-Alex<br>
</font></span><br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div>Hello,<br><br>Thanx for responding,<br><br>It's to bad that youtube does not allow you to enable html5 permanently, and i was kinda hoping in fooling it into thinking netvision was an ipad so it would do this without the need of starting the myth browser every time before starting netvision.<br>
<br>As a dirty workaround, this must be scriptable with curl or perl&LWP during myth startup ? Or to be more precise, where do I need to put the cookie so that netvision finds and uses it ?<br><br>I've got two weeks of vacation coming up and will give your instructions a try then since I'm a bit low on free time now. <br>
I will get back to you on this.<br><br>Rob<br>