diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2010-10-26 22:08:07 +0300 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2010-10-26 22:08:07 +0300 |
commit | 20f619bb2dbed736de51245651b0321f46e73e94 (patch) | |
tree | 82664dfed006c4f13f1b7016901fbe244328339e /templates/www.metacafe.com/navigation.xsl | |
parent | ac3fa72b3d3b82a20572d03c9d8a4f0296f7d636 (diff) | |
download | vdr-plugin-webvideo-20f619bb2dbed736de51245651b0321f46e73e94.tar.gz vdr-plugin-webvideo-20f619bb2dbed736de51245651b0321f46e73e94.tar.bz2 |
extract Youtube video params from the webpage, because get_video_info fails on copyright restricted videos
Diffstat (limited to 'templates/www.metacafe.com/navigation.xsl')
-rw-r--r-- | templates/www.metacafe.com/navigation.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/www.metacafe.com/navigation.xsl b/templates/www.metacafe.com/navigation.xsl index a4cb8e0..72e5d65 100644 --- a/templates/www.metacafe.com/navigation.xsl +++ b/templates/www.metacafe.com/navigation.xsl @@ -8,7 +8,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <label><xsl:value-of select="title" /></label> <xsl:choose> <xsl:when test="starts-with(id, 'yt-')"> - <stream>wvt:///www.youtube.com/video.xsl?srcurl=http://www.youtube.com/get_video_info?video_id=<xsl:value-of select="substring(id, 4)"/></stream> + <stream>wvt:///www.youtube.com/videopage.xsl?srcurl=http://www.youtube.com/watch?v=<xsl:value-of select="substring(id, 4)"/></stream> </xsl:when> <xsl:otherwise> <stream>wvt:///www.metacafe.com/videopage.xsl?srcurl=<xsl:value-of select="link"/></stream> |