summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2011-03-23 21:29:14 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2011-03-23 21:29:14 +0200
commitd0407db8ed0de92f2726ccea3f9dba443500ab76 (patch)
tree11c608addcfe38051bf2ba2008f0b460100a20d6
parent8c8bc541521f9e452d9c1e7764217b7bceefef4b (diff)
downloadvdr-plugin-webvideo-d0407db8ed0de92f2726ccea3f9dba443500ab76.tar.gz
vdr-plugin-webvideo-d0407db8ed0de92f2726ccea3f9dba443500ab76.tar.bz2
Fix Youtube
-rw-r--r--templates/www.youtube.com/videopage.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/www.youtube.com/videopage.xsl b/templates/www.youtube.com/videopage.xsl
index 159f50f..802e0d4 100644
--- a/templates/www.youtube.com/videopage.xsl
+++ b/templates/www.youtube.com/videopage.xsl
@@ -78,7 +78,7 @@
<!-- This is also called by youtu.be/videopage.xsl -->
<xsl:template name="main">
<xsl:variable name="videoinfo">
- <xsl:value-of select="substring-before(substring-after(//script[contains(., 'flashvars=\&quot;')], 'flashvars=\&quot;'), '\&quot;')"/>
+ <xsl:value-of select="id('watch-player')/embed/@flashvars"/>
</xsl:variable>
<xsl:call-template name="mediaurl">