How to Make Your Own Music Codes for MySpace

MySpace is a tremendously successful social-networking site with a huge community of members. It connects people from all walks of life and fosters both personal and professional advancement. Members create profiles containing basic personal information, which is used as an introduction to attract other users to become friends. There is a huge variety of templates available online to choose as a base for your profile. These templates allow you to choose a decorative background and upload photos with relative ease. However, you may be interested in customizing your layout by adding a song or playlist. These steps will show you how to create your own music codes for MySpace.

Instructions

    • 1

      Find a song you want to use on your profile and upload it to your hard drive from the audio CD. Or download and save the song to your hard drive. You can use audio files with mp3 and wav extensions, as well as wma and mid, on MySpace.

    • 2

      Write the HTML-supported code using the URL of the song. Use the tag <embed src="nameofyoursong.mp3"> followed by </embed> to have the song you have selected start playing when your profile loads. Use either the song file's relative path or full address in the filename indicated as the source (src).

    • 3

      Develop an entire playlist of songs for your profile. First, make a list of songs using a text editor. Put each song on its own line, remembering to include its relative path or full address in the filename (/musicfile/nameofyoursong.mp3). Save the list with an m3u extension (myspace_playlist.m3u). Now use the embed tag <embed src="myspace_playlist.m3u"> </embed> to make your playlist load with your profile.

    • 4

      Use this code to not only have your song or playlist begin playing once your page opens, but also to specify the properties of the media player that opens with your song: <embed src="nameofyoursong.mp3" width="90" height="185" autostart="true" loop="false"> </embed>. Replace the width and height values to accommodate your individual preferences. Leave the autostart value as "true" for your song to start automatically. The loop attribute specifies whether or not you want the song to repeat.

    • 5

      Create a link to a song in your layout. Enter the tag <a href="nameofyoursong.mp3"> My Song Link </a>. "My Song Link" is the text that will appear on your page. You can assign the link any name you want. With this option, the song will load when the link is clicked.

    • 6

      Place the appropriate HTML code in any section of your profile, depending on where you want your player to appear. You can also opt to hide your player so it is not visible on your layout by using the code <embed src="nameofyoursong.mp3" autostart="true" loop="false" hidden="true"> </embed>. The hidden attribute allows you to either show the music player on your profile or hide it.

Tips & Warnings

  • There are numerous code generators available on the web that will produce the appropriate HTML codes for you to simply copy and paste into your MySpace profile.

  • Only put music you have acquired through legal means on your MySpace page.

Related Searches:

Comments

You May Also Like

Related Ads

Featured