- 1). Log into your Web server. Click on the section of the page where you want to embed the audio player.
- 2). Insert the following HTML code:
<object type="audio/x-mpeg" data="http://songs.com/music/files/thesong.mp3" width="200" height="16" autoplay="true">
<param name="src" value="http://songs.com/music/files/thesong.mp3" />
<param name="autoplay" value="true" />
</object> - 3). Replace "http://songs.com/music/files/thesong.mp3" with the actual file path or URL that leads to the sound you want to embed.
- 4). Click "Publish." You have now embedded an audio file that will play immediately upon the Web page loading.