diff options
| -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"> |
