
March 18th, 2011, 03:17 PM
|
Registered User
|
|
Join Date: Mar 2011
Posts: 1
Time spent in forums: 46 m 59 sec
Reputation Power: 0
|
|
Convet quicktime mp3 player to flash pls ?
Dear all,
I want to convert my site's embedded quicktime mp3 player into a flash player, and it should be really easy.
The problem is that the site uses a variable $imgname12 which refers to the currently-chosen mp3, and I can't make the flash player 'see' the mp3 using a variable. It only seems to want an actual filename - e.g. song123.mp3
The quicktime code is here :
if ($imgname12!="") {
// $imgname12 is the track the user selects to preview
echo("<p><img src=images/speaker.gif border=0 align=absmiddle> Now playing 30 sec. mono demo...");
echo("<embed src='images/" . $imgname12 . "' autostart=true loop=false width=200 height=100></embed>");
If anyone knows how this can be done, I'd be grateful!
Thank you - Adam
|