Showing posts with label attribute. Show all posts
Showing posts with label attribute. Show all posts
Tuesday, September 8, 2015
How to Make a Song Autoplay on Blogspot (13 Steps)
Locate the Web address or URL of the music file you want to use. If it is not online, upload the file to a Web host or file host first. Copy the complete URL, including the 'http://."
Create a blank text document in Notepad or other plain text or HTML editor. Type the '
' tag as follows:
Type the 'src' attribute inside the '
' tag as follows:
Click between the quotes, right-click and click 'Paste.' This inserts the audio file URL in the value field in the tag. The code now looks as follows:
Type the attribute 'autoplay' inside the '
' tag just as you did the 'src' tag. Enter a value of 'true':
Add the attribute 'hidden' in the tag if you want the music console to be invisible to the user. Otherwise, insert the 'width' and 'height' attributes and specify the dimensions of the music area. This example uses the 'hidden' attribute:
This example does not use the 'hidden' attribute:
Add the attribute 'loop.' Enter a value of 'true' if you want the music to play perpetually; otherwise, enter 'false':
Click and drag the mouse cursor over the whole text, right-click and click 'Copy.'
VPS Hosting
Subscribe to:
Posts (Atom)