How to Autoplay Music on Facebook

By John Mitchell

You can auto play music on Facebook, but it requires access to a Facebook page. Regular Facebook profiles don't have the ability to add custom tabs. But if you own or manage a fan page on the social networking site, then you can use a simple HTML embed code to auto start a song. Keep in mind that Facebook frowns upon this type of practice, so use it sparingly and give the user an audio control panel to stop the song's playback.

Step 1

Go to facebook.com, sign into your profile and type "Static IFrame Tab" in the top search box. Select the app listing with the same name as the keywords. On the next screen, click the "Install Page Tab" button.

Step 2

Click the "Add This Application To" drop-down menu and highlight the page you wish to add the custom tab to. Click the "Add Static IFrame Tab" button below. Your page loads with the new tab installed on the side.

Step 3

Click the "Welcome" tab the app generated, then click the "Allow" button in the pop-up window.

Step 4

Copy and paste the following HTML code into the "Enter the HTML for Your Page" text area:

Step 5

Replace the "src" value with the website address that points to your audio file. The song file should be in MP3 or WAV format so it embeds properly.

Step 6

Click the "Save Settings" button to update the custom tab. When visitors now click the tab, they are greeted with the song you have selected and embedded. It also gives the person the ability to turn off the song if she finds it annoying.

References & Resources