Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Embed mp3 to autoplay on Home page of my website

Posted on 2009-03-30
3
Medium Priority
?
2,371 Views
Last Modified: 2013-11-19
I am building a web site at networksolutions .com and I want to embed a short mp3 music file that will play when the home page is opened.   Can some one walk me through this? Thanks
0
Comment
Question by:divrama
3 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 750 total points
ID: 24024354
<embed src="yourfilename.mp3" autostart="true" loop="true" width="0" height="0"> </embed>
0
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 750 total points
ID: 24025740
Hi divrama,

The above will work for almost all people but it assumes that a MP3-enabled player software is plugged into the browser.  You may have better results using a Flash-based player such as Wimpy (http://www.wimpyplayer.com/) as Flash is almost universal and bypasses some minor issues with the above code.
0
 

Author Closing Comment

by:divrama
ID: 31564587
Thanks for the help.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question