diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2011-03-23 21:29:14 +0200 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2011-03-23 21:29:14 +0200 |
commit | d0407db8ed0de92f2726ccea3f9dba443500ab76 (patch) | |
tree | 11c608addcfe38051bf2ba2008f0b460100a20d6 | |
parent | 8c8bc541521f9e452d9c1e7764217b7bceefef4b (diff) | |
download | vdr-plugin-webvideo-d0407db8ed0de92f2726ccea3f9dba443500ab76.tar.gz vdr-plugin-webvideo-d0407db8ed0de92f2726ccea3f9dba443500ab76.tar.bz2 |
Fix Youtube
-rw-r--r-- | templates/www.youtube.com/videopage.xsl | 2 |
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=\"')], 'flashvars=\"'), '\"')"/> + <xsl:value-of select="id('watch-player')/embed/@flashvars"/> </xsl:variable> <xsl:call-template name="mediaurl"> |