[Seaside] Re: MP3 Player and Scriptaculous

Lukas Renggli renggli at gmail.com
Sat Mar 18 08:07:52 UTC 2006

> I have been looking at this MP3 player that is implemented in
> Javascript <http://digitalmedia.oreilly.com/2005/02/23/
> mp3_embed.html>.  In principle, it seems like it should be fairly
> easy to integrate this with the stuff that you have done with
> Scriptaculous for Seaside.  I have been looking at it, but it's not
> clear what I need to do.  Would you mind helping me to get started
> with this?  Where should I begin?

Have a look at pier (PRViewRenderer>>visitFile), it also does embed a
player for uploaded sound-files. The code for the canvas-framework
looks like:

(html tag: 'embed')
    attributeAt: 'url' put: aFile url;
    with: aFile title

You can do something similar with the old rendering framework. There
is no JavaScript needed, as far as I understand.


Lukas Renggli

More information about the Seaside mailing list