【问题标题】:is there a way to skip to the next song after it has been playing for 30 seconds using the spotify API有没有办法使用Spotify API在播放30秒后跳到下一首歌曲 【发布时间】:2012-11-29 20:00:33 【问题描述】: 有没有办法使用spotify API 在歌曲播放一定时间后跳到下一首歌曲? 我似乎找不到任何文档可以让您了解歌曲的播放时间。 谢谢! 【问题讨论】: 标签: javascript spotify 【解决方案1】: 播放器具有position 属性(文档已损坏),它将以毫秒为单位为您提供当前播放位置。 观察EVENT.CHANGE 的播放器对象,您可以看到曲目开始/停止播放的时间,并且可以适当地计时。 【讨论】: 由于文档已损坏,您知道另一个可能有完整文档的来源吗?