From f18b314bd2e6059e73fbc4dc18000c18aa6e4535 Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Fri, 4 Jun 2010 18:51:09 +0200 Subject: [PATCH] youtube.lua: support WebM formats We parse the additional HTML5 section too, the only place where the WebM formats are listed. If the URL contains "&html5=True", the WebM formats are preferred, when available. --- share/lua/playlist/youtube.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua index 3146478f32..5349527442 100644 --- a/share/lua/playlist/youtube.lua +++ b/share/lua/playlist/youtube.lua @@ -100,6 +100,21 @@ function parse() -- Also available on non-HTML5 pages: var swfHTML = (isIE) ? "