xhtml.xsl: dewplayer only for http://ftp.c3d2.de/ resources

Wann kommt HTML5-Validierung?
This commit is contained in:
Astro 2010-10-27 14:41:22 +02:00
parent 0446fbc0dc
commit 49d9398180
1 changed files with 2 additions and 1 deletions

View File

@ -399,7 +399,8 @@
<xsl:with-param name="value" select="@size"/>
</xsl:call-template>)
<xsl:if test="@type='audio/mpeg'">
<!-- Why only http://ftp.c3d2.de/? Because Flash needs a crossdomain.xml there. -->
<xsl:if test="@type='audio/mpeg' and starts-with($href, 'http://ftp.c3d2.de/')">
<br/>
<object type="application/x-shockwave-flash"
data="{$baseurl}script/dewplayer-mini.swf?mp3={$href}&amp;showtime=1"