xsl: allow relative links in video/@poster,@preview

This commit is contained in:
Astro 2017-10-09 23:38:06 +02:00
parent 605dc5faa8
commit 45fc3d0224
1 changed files with 6 additions and 2 deletions

View File

@ -784,12 +784,16 @@
<!-- HTML5 dataset hints for play-resources.js poster -->
<xsl:if test="@poster">
<xsl:attribute name="data-poster">
<xsl:value-of select="@poster"/>
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="@poster"/>
</xsl:call-template>
</xsl:attribute>
</xsl:if>
<xsl:if test="@preview">
<xsl:attribute name="data-preview">
<xsl:value-of select="@preview"/>
<xsl:call-template name="make-href">
<xsl:with-param name="href" select="@preview"/>
</xsl:call-template>
</xsl:attribute>
</xsl:if>