diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2010-11-13 18:29:07 +0200 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2010-11-13 18:29:07 +0200 |
commit | e986c8415f4ed2dfc963f4d855433e80fe73e23d (patch) | |
tree | a1fc72a1b9f121bf0aeefa380f31347fda92d200 /templates | |
parent | 989e484ce4351e10db4dd073b346b739d5ed67cc (diff) | |
download | vdr-plugin-webvideo-e986c8415f4ed2dfc963f4d855433e80fe73e23d.tar.gz vdr-plugin-webvideo-e986c8415f4ed2dfc963f4d855433e80fe73e23d.tar.bz2 |
fix vimeo video links
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vimeo.com/video.xsl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/vimeo.com/video.xsl b/templates/vimeo.com/video.xsl index c23acc8..7e15eb1 100644 --- a/templates/vimeo.com/video.xsl +++ b/templates/vimeo.com/video.xsl @@ -3,7 +3,7 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> -<xsl:template match="/" mode="included"> +<xsl:template name="mediaurl"> <mediaurl> <title><xsl:value-of select="/xml/video/caption"/></title> @@ -11,4 +11,12 @@ </mediaurl> </xsl:template> +<xsl:template match="/"> + <xsl:call-template name="mediaurl"/> +</xsl:template> + +<xsl:template match="/" mode="included"> + <xsl:call-template name="mediaurl"/> +</xsl:template> + </xsl:stylesheet> |