[pmwiki-users] how to use embed-code

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 5 13:35:34 CST 2006

On Sun, Mar 05, 2006 at 08:31:38PM +0100, Thórralf Schuh wrote:
>    How can I include the code:
>    <EMBED SRC="http://homepage.sunrise.ch/mysunrise/a.ur/Bergtrollin1u2.mp3"
>    Autostart=true volume=100 WIDTH="0" HEIGHT="0">

If you want it to appear in every page, then you can put it into
the skin's template file.

If you want it to appear only on certain pages, it's probably easiest
to create a custom markup for it:

    Markup('music', 'directive',
      Keep("<EMBED SRC='http://homepage.sunrise.ch/mysunrise/a.ur/Bergtrollin1u2.mp3' Autostart='true' volume='100' WIDTH='0' HEIGHT='0' />"));

Then just use the (:music:) directive wherever you want the
<embed> tag to be placed.


More information about the pmwiki-users mailing list