Audio Clip Auto Play WordPress

Audio Clip Auto Play WordPress by SkyPoint Studios Web Design Billings MT

Have you ever wanted to make a song play automatically on the home page or another page of a WordPress website, but weren’t quite sure how to get the built in code to do it? No worries! We have the code snippet below that can make the song auto play.

Auto play songs need to be used very sparingly and special attention needs to be paid to whether the music compliments the content or takes away or even worse annoys and chases away guests. A good way to figure this out is do a field test with 2 or 3 good friends to see if your site becomes annoying on the six or seventh time visiting the home page.

Audio-Clip-Auto-Play-WordPress-Code1

To add audio to a WordPress page or post, just click the “Add Media” button above the text box and select the audio file from where it may be at on your Desktop or another folder on your computer. Insert the song into the page and make sure you are on the “Text” editor side, not the “Visual” editor. You’ll know the difference if you see a visual cue for an audio file instead of a piece of code that executes the audio file and adds controls.
The WordPress audio clip code looks like this:

Audio Clip Auto Play WordPress Code

The WordPress audio clip auto play code looks like this:

Audio Clip Auto Play WordPress Code

Notice that we added the function autoplay=”y” to turn the auto play functionality on for the audio clip.

Now use it sparingly, as there are definitely issues to be concerned about when having music on a website. For example, what if someone has a really powerful stereo hooked up to their computer and it is turned up high but there is no sound coming out. If they visit your website like that, they may be blown away not expecting music to play and it may force them to close out your site and not return possibly.

Monitoring a websites traffic before and after a audio clip auto play is important to determine what impact, if any the automatic music playing is having on visitors sticking around on the site.

Check out the example of this audio clip auto play function on Landon’s Legacy website (a great foundation!)

How did you use the audio clip auto play function to spruce up your site? Tell us in the comments ->

Avatar photo

Written by: Jophiel Silvestrone

Jophiel Silvestrone has written 326 posts in the Tech Blog.

Jophiel grew up on a ranch in Paradise Valley, Montana near Chico Hot Springs. Working on the ranch instilled work ethic and self motivation. Filled with this drive, Jophiel started mowing the local school's yards twice a month throughout the summers, at the age of 12. He moved to Billings in 2004, where he has been deeply involved in the local business community ever since. A serial entrepreneur, Jophiel has ran multiple businesses in our local community. The first business, a janitorial and carpet cleaning company, founded in 2005, has employed over 50 locals. Moving on to the media industry, Jophiel and several partners founded Green Directory Montana in the spring of 2007. Green Directory's sustainability ranking software awarded points based on sustainable or "green" actions. These points counted towards a business's total "Green Score," which in turn ranked them against other businesses in their category and throughout the entire site. It also featured a limited edition print version distributed annually. A business acquisition allowed Jophiel to focus on new projects, and a few close business colleagues and Jophiel started Rocky Mountain Mr. & Ms. Magazine, a lifestyle publication for men and women in the Magic City. After a year and a half at the helm of RM3 Magazine, the business was purchased. He now runs a web development company SkyPoint Studios and fathers his son Jaoquin, who plays football, basketball, soccer, and is learning snowboarding from his dad. Recently, has expanded to locations in Havasu, Arizona & Vegas. SkyPoint Studios is a market leader in both Billings & Havasu and Jophiel is working on building that same level of market dominance in Vegas. Specialties: Extensive experience in online and offline business. Especially savvy at WordPress, and operate several sites, one example is the blog: skypointwebdesignbillingsmontana.com/tech-blog. Check out skypointwebdesignbillingsmontana.com for the latest projects from SkyPoint Studios.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.