Help Wizard

Step 1

NEXT STEP

Topics with Label: stop playing

Labels

Forum Posts

Important: App review and quota extension waiting times

The Spotify for developers platform helps many bring their ideas to life. Whether it's a short term app helping an artist’s release or something more long term - there is always a chance of success. Things start to grow and then you might also need w...

  • Moderator
  • Moderator
  • Naianasha
  • Music Fan
  • 18831 Views
  • 133 replies
  • 20 likes
  • 18831 Views
  • 133 replies
  • 20 likes

Any way to stop the Spotify player (embed) when the user scrolls the website page?

Does anyone know of a way to stop the Spotify player (embed) when the user scrolls the website page? We have this code working now: // Get a reference to the embed iframe element const spotifyEmbedWindow = document.querySelector('iframe[src*="spotify...

  • Casual Listener
  • Does anyone know of a way to stop the Spotify player (embed) when the user scrolls the website page?  We have this code working now:       // Get a reference to the embed i...
  • Galina777
  • Casual Listener
  • 1161 Views
  • 4 replies
  • 1 likes
  • Embed Player
    javascript
    pause music
    stop playing
    toggle
  • 1161 Views
  • 4 replies
  • 1 likes