Google MP3 player widget

  • 1
  • Question
  • Updated 9 years ago
  • Answered
How do I make the Google MP3 player widget not only play automatically upon entering a page, but keep playing continually the same song ?
Photo of Felipe


  • 58 Posts
  • 0 Reply Likes
  • excited

Posted 9 years ago

  • 1
Photo of jeremy

jeremy, Employee

  • 1349 Posts
  • 90 Reply Likes
Hi there Felipe,

I am not sure if you can do this with the Google Audio widget. You can get it to autoplay but it doesn't seem to have the loop function. You can however do it by uploading your song to your file manager and adding it using HTML.

I must advise you though that having background music is a one of the biggest reasons for people leaving your site quickly.

Most people react by closing the browser tab or window the second the music starts to get rid of the music as fast as possible. However, if you still would like to add background music, you can add music by uploading the sound file to your file manager and then using the HTML widget to embed the music.

Here is a link to an excellent article that explains how to do this. The article also gives good advice on the implications of adding music to your website. Please review it carefully before you proceed: background music (It will also show you how to loop the song - essentially it is a short piece of code "loop=true") .

You can add HTML embed code for your music by dragging and dropping an HTML widget from the sidebar on the right onto your page (the icon for this is a blue sphere).

An HTML editor will open up that will allow you to write or paste in your code. When you are done, click "ok" and you will see the way that the HTML displays on your page

To edit the HTML in a text widget, click the last icon on the text editing toolbar (HTML) You can then edit the HTML. When you are finished, click "OK" to return to editing text with the Yola text editor.

The path to your music files would be:



"resources" is the name of the File Manager (you must not change that).
"folder" - if your file is in a folder, include the folder name.
"file.mp3" is the name of your file.

I hope this helps.