Jump to content

I want to have music play automatically on landing page

Recommended Posts

Posted

I need to have music play automatically on landing page, my website is for my record label.

I am on a Mac & can't seem to access the control panels on the audio blocks to engage the autoplay settings. This is highly frustrating, as I don't want to start over with a new host service. Please help, or at least guide to a place that can help.  Thank you for your time!

Posted
16 hours ago, tuanphan said:

You mean

When users is on landing page >> automatic play music?

This is possible but it will annoy the user

 

Thank you for the reply! How do I set that up? I run a record label, so music isa must!!!

Posted
3 hours ago, PBRMusic said:

Thank you for the reply! How do I set that up? I run a record label, so music isa must!!!

I don't know how to code it but just know that Safari generally stops stuff from autoplaying. By default it's set to not autoplay. Visitors can enable it but I don't believe it's site specific.

Sayre

Design Site: https://www.stregaconsulting.com

Author Coordinates: https://bio.site/sayreambrosio

Italian Journey: https://bio.site/ambrosiosjrnyhm

Posted
1 hour ago, sayreambrosio said:

I don't know how to code it but just know that Safari generally stops stuff from autoplaying. By default it's set to not autoplay. Visitors can enable it but I don't believe it's site specific.

Thank you. If its a matter of code, then I shall approach it with a different perspective. I appreciate the help, thank you for your time!

Posted
On 7/5/2023 at 3:22 AM, PBRMusic said:

Thank you for the reply! How do I set that up? I run a record label, so music isa must!!!

You try adding this to Landing Page Header (don't add to Custom CSS)

<audio controls autoplay loop>
  <source src="https://www.w3schools.com/tags/horse.ogg" type="audio/ogg">
</audio>

Replace example audio url with your audio url

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Posted
On 7/6/2023 at 9:25 PM, tuanphan said:

You try adding this to Landing Page Header (don't add to Custom CSS)

<audio controls autoplay loop>
  <source src="https://www.w3schools.com/tags/horse.ogg" type="audio/ogg">
</audio>

Replace example audio url with your audio url

Ok, I think I did it right, but maybe not cause it either says error or doesn't play

 

<audio controls autoplay loop>

  <source src="https://www.pbrmusic.xyz/khilshot/tags/khil-shot.mp3" type="audio/mp3">

</audio>

Posted
On 7/9/2023 at 1:07 PM, PBRMusic said:

Ok, I think I did it right, but maybe not cause it either says error or doesn't play

 

<audio controls autoplay loop>

  <source src="https://www.pbrmusic.xyz/khilshot/tags/khil-shot.mp3" type="audio/mp3">

</audio>

The mp3 url doesn't exist

https://www.pbrmusic.xyz/khilshot/tags/khil-shot.mp3

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.