Home › Forums › Automattic › Mood › how do I add audio?
-
AuthorPosts
-
Bart W Balint MDjust new to all of this! I would like to have some of my original music play in the background as folks open the page. I can upload the files, but I dont see any way to have this happening.
thanks for the help.
Bart
The blog I need help with is acimembodied.comNovember 1, 2018 at 5:50 pm #164797
DavidHi Bart,
Before I begin, since your site has a Premium plan, you’re entitled to live-chat and email support, accessible here:
https://wordpress.com/help/contact
You’re welcome to still post in these forums, but those other support avenues may be faster, and you’ll always get a staff reply.
I would like to have some of my original music play in the background as folks open the page.
With your current theme, you would be able to add an audio player in the footer with a text widget.
https://en.support.wordpress.com/widgets/text-widget/
To add the player, first go to My Site > Media, and click on the audio file. Next, click the blue Edit button near the top of the Media area. You’ll see a pop up that has a COPY button in it. You can use that to copy the link to the file.
Once you have it copied, you can create a shortcode like the one below:
[audio src=https://your-file-link.mp3 autoplay=1]
You’d just replace
https://your-file-link.mp3
with the link that you copied from the Media area.Finally, you’ll add the Text Widget to your site’s footer, and paste the code into the Text tab of that widget.
November 3, 2018 at 11:45 am #164802
Bart W Balint MDDavid, thanks so much for your reply. With your help, and with the help of WordPress chat I was able to identify the widget area. And I was able to add some audio, and next I will add the shortcode to have some autoplay.
Thanks again!
Bart
November 5, 2018 at 6:24 pm #164804
DavidHappy to help!
-
AuthorPosts
You must be logged in to reply to this topic.