Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Syniky

Auto play sound on iphone

Recommended Posts

I have a little trouble.

i want Door opens. Follow by, background plays a different dog barking sound. but it's not working in iphone

See the Pen gvOYbP by syniky (@syniky) on CodePen

Link to comment
Share on other sites

Is the sound that is not working? The reason for that is because on iPhones you cannot autoplay sound. You can only play sound with user interaction. How about you show a button after the door opens, then you play the sound if the user presses that button?

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×