Jump to content

Music Code


Graeme

Recommended Posts

can you tell in which technology you developed your website?

 

Using an object tag, we can create our own little player with a few lines of code. Paste the code below into your page and insert the link to your MP3. Then you can customize options like height, width, background color, loop, and autoplay.

 

<object width="300" height="42">

<param name="src" value="LINKHERE">

<param name="autoplay" value="false">

<param name="controller" value="true">

<param name="bgcolor" value="#FFFFFF">

<embed src="LINKHERE" autostart="false" loop="false" width="300" height="42"

controller="true" bgcolor="#FFFFFF"></embed>

</object>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...