Adding sound clip to Home page using...

User 488057 Photo


Registered User
130 posts

Can anyone tell me how to add a 1 minute mp3 sound clip to the home page of my web site using VSD 5.9.4? From what I know of VSD, I suspect it involves inserting an HTML object. But then what?

Tom
User 282670 Photo


Registered User
3,940 posts

Hey Tom
try this:
<bgsound src="test.mp3" title="magnet&steel mp3" loop="1"></bgsound>

example:http://kellyinfo.com/web/music.html




User 488057 Photo


Registered User
130 posts

Bruzer

Ok, I created an HTML object on my home page, inserted your code into the body, and replaced "magnet&steel.mp3" with the name of my file. Then I used the Add Files command to add my file to the Root folder on the right of the dialog box and saved my web site. But when I opened the index.html file from its location on my hard drive, there was no sound. So, what did I miss?

Tom
User 488057 Photo


Registered User
130 posts

Bruzer,

I think I see what I did wrong. I should have replaced "test.mp3" with the name of my file because there's no "." in "magnet&steel mp3." I'll try it again and see what happens.

Tom
User 488057 Photo


Registered User
130 posts

Hey Bruzer,

It worked! Thank you very much!! That was a lot easier than I thought it would be. I should mention that I removed "title=magnet&steel mp3" from the line. Is that what I was supposed to do?

Tom
User 282670 Photo


Registered User
3,940 posts

yeah you don't need the title , and your right about just changing the mp3 name to yours good job! and the add files.





Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.