Jump to content

Reduce this loop, is there another way?


dreamwest

Recommended Posts

I have a mp3 player which loops 20 times, is there another way i can just call the mp3 code once thus helping page loading times?

 


//loops 20 times for each song//
<div class="player">

<object type="application/x-shockwave-flash" data="/mp3/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="/mp3/player.swf">
<param name="FlashVars" value="playerID=1&
bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0xF06A51&rightbghover=0xAF2910&righticon=0xF2F2F2&
righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0xAF2910&soundFile=http://{$latest[i].url}">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object></center>

 

I tried a function but it didnt seem to help loading times

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.