nirajrns / dataobjectmanager

Automatically exported from code.google.com/p/dataobjectmanager
0 stars 0 forks source link

MP3 player does not load more than one per page #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you wish to have more than one audio player per page, the mp3.ss file is
written in such a way that it won't work.

<object type="application/x-shockwave-flash" data="$SWFLink"
id="audioplayer1" height="24" width="290">

The HTML ID gets repeated which makes it not work. I came up with the
following solution and it works.

<object type="application/x-shockwave-flash" data="$SWFLink"
id="audioplayer{$Count}" height="24" width="290">

Original issue reported on code.google.com by webbo...@gmail.com on 9 Mar 2010 at 11:19