cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.D. Williams" <>
Subject Cocoon and multimedia
Date Sat, 04 Aug 2007 01:01:09 GMT
I would like to include some multimedia in some HTML created by Cocoon.
Specifically, I would like for visitors to be able to play an mp3.\

I included the XML transformed to produce the following in the result

<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b"
codebase="" height="26"
type="audio/mpeg" width="90">

<param name="src" value="foo.mp3" />
<param name="autoplay" value="false" />
<param name="controller" value="true" />

<object data="foo.mp3" height="26" type="audio/mpeg" width="90">
<param name="autoplay" value="false" />
<param name="controller" value="true" />

The player appears, and when you click the play button, the browser appears to respond, but
never plays.

I included a matcher in the root sitemap, with the same result.

<!-- mp3 -->
<map:match pattern="**.mp3">
  <map:read mime-type="audio/mpeg" src="mp3/{1}.mp3"/>

I noticed the site,, among the live sites
( but of course I cannot see
their XML or sitemap to see how they do it.

Has anyone successfully done something like this, someone who would like to share a clue?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message