Yola Support
How can I add music to my site?
You can add music by using the Widgetbox Gallery widget:
- Drag and drop a Widgetbox Gallery widget onto your page.
- A dialog box will open, click on the "Audio" category or search for "Music".
- Choose the player that you would like to use on your site.
- Edit your settings to customize your widget (to get the URL you need, see the steps below).
- Click on the green "Get Widget" button and it will be saved and added to your page.
- Save and preview your page to view the widget.
To play a song that you've uploaded to your File Manager, edit the settings in the Widgetbox player so that the URL looks like: http://mysite.yolasite.com/resources/song.mp3
- Where "mysite" is the name of your published site
- "song.mp3" is the name of the music file you've uploaded and would like to hear
- Remember to include any folder names in the file path if your file is stored in a folder in the File Manager. For example, if you have Music folder: "resources/Music/song.mp3"
You can also add a small console player to your page with custom HTML:
- Upload the music file to your File Manager.
- Drag and drop an HTML widget to your page and paste the following code into the editor that opens:
<embed src="resources/song.mp3" width="140" height="40" autostart="false" loop="FALSE"></embed> - Replace "song.mp3" with the name of your uploaded song
Republish your site for the changes to occur live on the internet.
Please ensure that you own the copyright to the music you will be playing.