In Feburary 2016 11,
Log in to your web host by inputting your user name and password into the corresponding text boxes. Click on the 'Upload' button and select a song that you want to put in the background of your website. This will upload it to the root directory of your site. The root directory is the default where you are directed when you first sign into your web host.
Click on the HTML document in your web server in which you want to put the song into the background. Copy and paste the following HTML background music code into the place in your HTML code where you want the music player to appear: <embed name='Name of song'
src='URL to song'
loop='false'
hidden='false'
autostart='true'>
</embed>Replace the section that says “Name of Song” with the title of your song and the section that says “URL to Song” with the URL to your song.
Play the song more than once, when someone links to your page, by inputting the number of times that you want it to play into the loop value. Replace loop='false' with loop='1'or loop='2' as the proper HTML.
Hide the music player so that the user cannot stop the music. To do this, input “true” next to the hidden value. Replace hidden='false' with hidden='true' as the proper HTML.
Stop the music from playing automatically when someone opens your web page by inputting “false” next to the autostart value. Replace autostart='true' with autostart='false' as the proper HTML.
Save the web page file with the code in it.
In Feburary 2016 11,
Keine Kommentare:
Kommentar veröffentlichen