How can I prevent autoplay in safari/iOS? #83
-
I'm basically hoping to achieve something similar to this in the SDK but am having trouble. My Spotify Player component spins up with an onClick that set's the play status, but also fetches the data from the Spotify Web API. Are there any work-arounds you can think of similar to player.activateElement() within ' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
hey @randyriback I didn't get your question... [s] |
Beta Was this translation helpful? Give feedback.
-
Ahh, ok. It's a boolean, so Anyway, everything inside the curly brackets |
Beta Was this translation helpful? Give feedback.
-
I see, I'd been triggering the |
Beta Was this translation helpful? Give feedback.
Ahh, ok.
It's a boolean, so
autoPlay={false}
. But it'sfalse
by default.Anyway, everything inside the curly brackets
{}
is evaluated, while everything with quotes it'll always be a string.