Is there any way to pause using apify apify?

I want to be able to pause the current track, but cannot find any way to do this.

The documentation is here: http://developer.spotify.com/download/spotify-apps-api/reference/

I use the following to play the track ...

m.player.play(uri)

but there seems to be no equivalent of m.player.pause(uri) or the like ...

+4
source share
1 answer

Use this:

 m.player.playing = 0; 

Read here about the player: https://developer.spotify.com/docs/apps/api/0.1/f19ff300f8.html

+7
source

Source: https://habr.com/ru/post/1390820/


All Articles