I want to be able to pause the current track but can't seem to find any method of doing so.
Documentation is here: /
Am using the following to play a track...
m.player.play(uri)
but there doesn't seem to be an equivalent m.player.pause(uri)
or similar...
I want to be able to pause the current track but can't seem to find any method of doing so.
Documentation is here: http://developer.spotify./download/spotify-apps-api/reference/
Am using the following to play a track...
m.player.play(uri)
but there doesn't seem to be an equivalent m.player.pause(uri)
or similar...
- I know this ment might be a little late, but I can't seem to figure it our. Where is the url to the library that allowed you to import all these objects and methods? I can't seem to find it. – idude Commented Jul 18, 2014 at 17:35
1 Answer
Reset to default 7Use this:
m.player.playing = 0;
Read here about the player: https://developer.spotify./docs/apps/api/0.1/f19ff300f8.html