Spotify账号注册
- 1.自行FQ(VPN/Shadowsocks/GAE..)
- 2.注册Facebook账号,个人资料区域设置成us。
- 3.使用Facebook账号登陆Spotify。
Installation
1
| npm install hexo-tag-spotify
|
Add this plugin in your _config.yml .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| plugins: - hexo-tag-spotify # ===================================================== ##size #large (default) #compact #width>x<height>
##theme #dark (default) #light
##view #list (default) #cover spotify: size: 'large' theme: 'light' view: 'list' # =====================================================
|
Usage
1. Example with Spotify URI:(只支持单曲)
1
| {% spotify spotify:track:0ZoOOxoA8o0lY590ivyMm4 %}
|
2. Example with HTTP link:(支持单曲/专辑/播放列表,推荐)
1
| {% spotify https://play.spotify.com/user/12132493/playlist/1kBmZZ1rW2Mq2jQdS4QclQ %}
|
Demo
目前内嵌的Spotify Widgets点击播放按键后会跳转到Spotify Web Player页面播放。。。
1.单曲
2.专辑