是否可以使用javascript获取当前播放的Itunes曲目
我想看看是否可以使用 javascript 来获取当前正在播放的 Itunes 歌曲,如果可以,如何实现?
用例如下:
- 用户单击链接
- ,会弹出一个警报,显示歌曲名称、艺术家和专辑。
谢谢
I am looking to see if it's, first, possible to even use javascript to get the currently playing Itunes song, and if so, how?
A use case along the lines of:
- User clicks a link
- An alert pops up displaying song name, artist and album.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
直接说,没有。如果 iTunes 中的数据发送到 last.fm 等服务,则可以定期从那里获取数据看看他们在听什么。类似于 https://github.com/niklasvh/jquery.plugin.listening
Directly, no. If the data from iTunes is sent to a service like last.fm, it can be fetched there on a regular interval to see what they are listening to. Something similar to https://github.com/niklasvh/jquery.plugin.listening