video with media player plugin works again

(correct MIME type is application/ogg)


git-svn-id: http://yolanda.mister-muffin.de/svn@195 7eef14d0-6ed0-489d-bf55-20463b2d70db
This commit is contained in:
erlehmann 2007-12-05 15:55:59 +00:00
parent 3fa362e49e
commit 725ef2dfd9
2 changed files with 6 additions and 6 deletions

View file

@ -180,6 +180,10 @@
<hr /> <hr />
<xsl:if test="//message">
<xsl:call-template name="message"/>
</xsl:if>
<xsl:if test="//search"> <xsl:if test="//search">
<xsl:call-template name="searchbar"/> <xsl:call-template name="searchbar"/>
</xsl:if> </xsl:if>
@ -187,10 +191,6 @@
<xsl:if test="not(//frontpage)"> <xsl:if test="not(//frontpage)">
<xsl:call-template name="logo-small"/> <xsl:call-template name="logo-small"/>
</xsl:if> </xsl:if>
<xsl:if test="//message">
<xsl:call-template name="message"/>
</xsl:if>
</xsl:if> </xsl:if>

View file

@ -74,7 +74,7 @@
</div> </div>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<object> <object type="application/ogg">
<xsl:attribute name="width"> <xsl:attribute name="width">
<xsl:value-of select="//video/@width" /> <xsl:value-of select="//video/@width" />
</xsl:attribute> </xsl:attribute>
@ -273,7 +273,7 @@
<xsl:value-of select="$locale_strings[@id='protip_embed']" /> <xsl:value-of select="$locale_strings[@id='protip_embed']" />
<br /> <br />
<span class="code"> <span class="code">
&lt;object data="<xsl:value-of select="concat(//rdf:RDF/cc:Work/dc:identifier, '/embed=true')" />" &lt;object data="<xsl:value-of select="concat(//rdf:RDF/cc:Work/dc:identifier, 'embed=true')" />"
type="application/xml" type="application/xml"
width=<xsl:value-of select="//video/@width + 24" /> width=<xsl:value-of select="//video/@width + 24" />
height=<xsl:value-of select="//video/@height + 48" /> height=<xsl:value-of select="//video/@height + 48" />