Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Topics with Label: toggle

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
  • Lkole
  • Regular
  • 23693 Views
  • 151 replies
  • 20 likes
  • 23693 Views
  • 151 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
  • ...frame element const spotifyEmbedWindow = document.querySelector('iframe[src*="spotify.com/embed"]').contentWindow; spotifyEmbedWindow.postMessage({command: 'toggle'}, '*');     &n...
  • Galina777
  • Casual Listener
  • 1380 Views
  • 4 replies
  • 1 likes
  • Embed Player
    javascript
    pause music
    stop playing
    toggle
  • 1380 Views
  • 4 replies
  • 1 likes