summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-11-13 18:29:07 +0200
committerAntti Ajanki <antti.ajanki@iki.fi>2010-11-13 18:29:07 +0200
commite986c8415f4ed2dfc963f4d855433e80fe73e23d (patch)
treea1fc72a1b9f121bf0aeefa380f31347fda92d200 /templates
parent989e484ce4351e10db4dd073b346b739d5ed67cc (diff)
downloadvdr-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.xsl10
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>