need background music without jukebox...

User 2013766 Photo


Registered User
8 posts

I am using VSD and would like to put background music on my website. I really dont want to use the jukebox. I have tried every code I could find and cant get them to work. one example is <embed src="Spose - I'm Awesome"
width="140" height="40" autostart="false" loop="FALSE">
</embed>

Maybe I am putting this in the wrong place. Where do I need to put it.

Thank you in advance
Bobby
User 1948478 Photo


Senior Advisor
1,850 posts

One way might be to use the (deprecated-) <embed> tag as explained at this link:

http://www.htmlf1.com/tutorial/html-bac … music.html

Or, you could try the - possibly more authoritative - recommendations of the W3Schools at this link:

http://www.w3schools.com/media/media_browsersounds.asp
User 2000538 Photo


Registered User
1,392 posts

bobby norwood wrote:
I am using VSD and would like to put background music on my website. I really dont want to use the jukebox. I have tried every code I could find and cant get them to work. one example is <embed src="Spose - I'm Awesome"
width="140" height="40" autostart="false" loop="FALSE">
</embed>

Maybe I am putting this in the wrong place. Where do I need to put it.

Thank you in advance
Bobby


Where you have src="Spose - I'm Awesome" wouldn't you need a link to a file in between the " "

You haven't told it which file to access and where. No idea if the code you have used will work if you change that though.

To insert any code in VSD you need to insert it at the spot you want it using the Add HTML tool.
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.


User 2013766 Photo


Registered User
8 posts

the src="Spose - I'm Awesome" is the file name of the song that i put in the files folder of the website but it didnt play when i previewed it. i'm gonna try the tutorials and see how that works. thank you
User 2000538 Photo


Registered User
1,392 posts

bobby norwood wrote:
the src="Spose - I'm Awesome" is the file name of the song that i put in the files folder of the website but it didnt play when i previewed it. i'm gonna try the tutorials and see how that works. thank you


But there is not file extension on it. It would need to be something like "Spose - I'm Awesome.wav"

I'm not so sure about the spaces, hyphens and apostrophes in the name either. Better to name it something like spose_im_awesome. wav or whatever file type it is or sposeimawesome.wav

Also if the sound file is in a separate folder to the page file it would need to have the folder name as well so something like "files/sposeimawesome.wav"
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.


User 2013766 Photo


Registered User
8 posts

ok i renamed the file and tried the tutuorial suggestion. got a little further. music still does not play but i feel that i will have to upload all to server for it to work. thank you both for your help.
User 2000538 Photo


Registered User
1,392 posts

Yes that might be part of the problem. I'm not sure if it will play in preview or not. Upload it and see and let us know how you get on.
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.


User 2013766 Photo


Registered User
8 posts

well got it uploaded and it works fine. the code i used was
<html>
<body>
<embed
src="imawesome.mp3"
width="50%"
height="50%">
</embed>

</body>
</html>

thanks for all your help
User 2000538 Photo


Registered User
1,392 posts

Excellent Bobby...I'm glad its all up and working and happy to help :)
I know you believe you understand what you think I said...but I am not sure you realize that what you heard is not exactly what I meant.



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.