Announcements

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

Spotify Api effect on iFrame with premium account

Spotify Api effect on iFrame with premium account

My Question or Issue

I found iFrame volume is too high and i wants to change it but not finding any solution / iFrame don't have that functionality. while searching i found that the spotify api can set the volume of premium account. and code given below can change the volume.

 

 

 

 

 

 

spotifyApi.setVolume(50)
  .then(function () {
    console.log('Setting volume to 50.');
    }, function(err) {
    //if the user making the request is non-premium, a 403 FORBIDDEN response code will be returned
    console.log('Something went wrong!', err);
  });

 

 

 

 

 

 

So my question if i have premium account and i use that account credential to call this api, Does that affect the volume of iFrame with premium account logged-in???

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random