Spotify Web Playback Event
Entries
PlayerStateChanged
Link copied to clipboard
PlayerStateChanged("player_state_changed")
Content copied to clipboard
Emitted when the state of the local playback has changed.
InitializationError
Link copied to clipboard
InitializationError("initialization_error")
Content copied to clipboard
Emitted when the Spotify.Player fails to instantiate a player capable of playing content in the current environment.
AuthenticationError
Link copied to clipboard
AuthenticationError("authentication_error")
Content copied to clipboard
Emitted when the Spotify.Player fails to instantiate a valid Spotify connection from the access token provided to getOAuthToken.
AccountError
Link copied to clipboard
AccountError("account_error")
Content copied to clipboard
Emitted when the user authenticated does not have a valid Spotify Premium subscription.
PlaybackError
Link copied to clipboard
PlaybackError("playback_error")
Content copied to clipboard
Emitted when loading and/or playing back a track failed.
Properties
Sources
js source
Link copied to clipboard