Hello all,
I am wondering what is best practice for feeding content to a flash player. Consider this chunk of existing code below (formatting a little messed up)... is that too crappy or ok? Please suggest in noob-talk what I should do if it is a poor choice for style/overhead. If it is loading each time and not in cache it is probably a bad thing I would think.
THANKS!
phpnoob 🙂
<?php
while($row = mysql_fetch_array($result))
{
echo "
<img src =\"" . $row['path'] . $row['pic_filename']."\">
<br>
<embed type=\"application/x-shockwave-flash\" src=\"http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=".$row['path']. $row['audio_filename']."\" width=\"400\" height=\"27\" allowscriptaccess=\"never\" quality=\"best\" bgcolor=\"#ffffff\" wmode=\"window\" flashvars=\"playerMode=embedded\" />
";
}
?>