need help please

  • 1
  • Question
  • Updated 10 years ago
  • Answered
Trying to use this for Music background for my website http://www.premiumbeat.com/flash_reso...

Yes I know there are widgets which are huge I want something that auto plays and its small like that and its just 1 song not a list, ok following the instructions on that site when I try to upload swfobject.js it wont let me.

Any help please?

Thanking you in Advance

Patrick
www.nellasbullsmalta.com
Photo of Patrick

Patrick

  • 89 Posts
  • 1 Reply Like
  • confused

Posted 10 years ago

  • 1
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Lycan

I'm sorry but unfortunately, Yola does not allow for .js files to be uploaded into the file manager. You can paste javascript codes in the HTML widget box but you cannot physically put a .js into your file manager.
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Lycan76,

Littleus is correct. You won't be able to upload .js files to your site.

Here is a link to an excellent article that explains how to add background music. The article also gives very sound advice on the implications of adding music to your website. I would suggest reviewing it carefully before you proceed: background music - http://www.thesitewizard.com/webdesig...

You can also add music by using the Widgetbox Gallery:

1. Drag and drop a Widgetbox Gallery widget onto your page.
2. A dialogue box will open, click on the Audio category or search for music.
3. Choose the player that you would like to use on your site.
4. Edit your settings to customise your widget.
5. Click on the green 'Get Widget' button and it will be saved and added to your page.
6. Save and preview your page to view the widget.

Please ensure that you own the copyright to the you will be playing.
Photo of Patrick

Patrick

  • 89 Posts
  • 1 Reply Like
Thanks for the replies ok im using this

<!----<embed src="resources/MYSONG.mp3" autostart="true" loop="true" width="25" height="10"> </embed> --->

Is there a code that I can add so that the music keeps playing in all pages? cause if I paste this code in all pages ofcourse the music restarts.

Any help please?

Patrick
www.nellasbullsmalta.com
Photo of Patrick

Patrick

  • 89 Posts
  • 1 Reply Like
Anyone know if its possible please? to make it persistent in all pages?
Photo of Marije

Marije, Official Rep

  • 4636 Posts
  • 237 Reply Likes
Hi there - unfortunately there isn't a way to play continuous music throughout you site. It would restart whenever someone moves to a new page.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hi Lycan

I don't know if it's possible or not. Have you tried just pasting your code on the first page and seeing what happens? If you paste the code on all your pages, what happens if you change the loop from "true" to "false"?

Sorry I couldn't be of much help.