xsl/podcast feeds: prefer mp4 too
It's for Apple and their followers. Our subscribers use feed catchers which probably do not play WebM at the moment.
This commit is contained in:
parent
d4773ad386
commit
b80549892e
|
@ -152,6 +152,12 @@
|
||||||
<xsl:with-param name="newsfile" select="$newsfile"/>
|
<xsl:with-param name="newsfile" select="$newsfile"/>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<!-- Gibts ein MP4? -->
|
||||||
|
<xsl:when test="count(alternative[@type='video/mp4']) > 0">
|
||||||
|
<xsl:apply-templates test="alternative[@type='video/mp4'][1]">
|
||||||
|
<xsl:with-param name="newsfile" select="$newsfile"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:when>
|
||||||
<!-- Nimm was da ist (OGG) -->
|
<!-- Nimm was da ist (OGG) -->
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:apply-templates select=".">
|
<xsl:apply-templates select=".">
|
||||||
|
|
Loading…
Reference in New Issue