內容簡介
Toma.hk 短碼允許您從 toma.hk 嵌入播放清單、專輯和單曲。
嵌入播放清單
使用此代碼:[twk-playlist]TOMAHK_PLAYLIST_URL[/twk-playlist],其中 TOMAHK_PLAYLIST_URL 是您的播放清單的網址(例如:http://toma.hk/p/R222222M)。
您還可以指定多個引數:
width(嵌入寬度)-默認值為550
height(嵌入高度)-默認值為430
像這樣:[twk-playlist width=”550″ height=”430″]TOMAHK_PLAYLIST_URL[/twk-playlist]
嵌入專輯
使用此代碼:
[twk-album artist=”專輯藝術家” title=”專輯名稱”][/twk-album]
或使用:
[twk-album]TOMAHK_ALBUM_URL[/twk-album]其中 TOMAHK_ALBUM_URL 是您的專輯網址(例如:http://toma.hk/album/The+Smashing+Pumpkins/Oceania)。
您還可以指定多個引數:
width(嵌入寬度)-默認值為550
height(嵌入高度)-默認值為430
像這樣:[twk-album width=”550″ height=”430″]TOMAHK_ALBUM_URL[/twk-album]
嵌入單曲
使用此代碼:
[twk-track artist=”音樂家名稱” title=”歌曲標題”][/twk-track]
或使用:
[twk-track]TOMAHK_TRACK_URL[/twk-track]其中 TOMAHK_TRACK_URL 是您的曲目網址(例如:http://toma.hk/Belaaaab)。
您還可以指定多個引數:
width(嵌入寬度)-默認值為200
height(嵌入高度)-默認值為200
autoplay(true|false)-默認值為true
disabled resolvers-默認值為false
像這樣:[twk-album width=”200″ height=”200″ autoplay=true disabled_resolvers=”Soundcloud,Officialfm”]TOMAHK_ALBUM_URL[/twk-album]
本地化
外掛標籤
開發者團隊
原文外掛簡介
Toma.hk shortcodes allows you to embed playlists, albums and single tracks from toma.hk.
Embed a playlist
Use this code : [twk-playlist]TOMAHK_PLAYLIST_URL[/twk-playlist] where TOMAHK_PLAYLIST_URL is the url of your playlist (eg.: http://toma.hk/p/R222222M).
You can also specify several arguments :
width (the embed width) – default is 550
height (the embed height) – default is 430
Like this : [twk-playlist width=”550″ height=”430″]TOMAHK_PLAYLIST_URL[/twk-playlist]
Embed an album
Use this code :
[twk-album artist=”ALBUM ARTIST” title=”ALBUM TITLE”][/twk-album]
Or use:
[twk-album]TOMAHK_ALBUM_URL[/twk-album]where TOMAHK_ALBUM_URL is the url of your album (eg.: http://toma.hk/album/The+Smashing+Pumpkins/Oceania).
You can also specify several arguments :
width (the embed width) – default is 550
height (the embed height) – default is 430
Like this : [twk-album width=”550″ height=”430″]TOMAHK_ALBUM_URL[/twk-album]
Embed a single track
Use this code :
[twk-track artist=”TRACK ARTIST” title=”TRACK TITLE”][/twk-track]
Or use:
[twk-track]TOMAHK_TRACK_URL[/twk-track]where TOMAHK_TRACK_URL is the url of your track (eg.: http://toma.hk/Belaaaab).
You can also specify several arguments :
width (the embed width) – default is 200
height (the embed height) – default is 200
autoplay (true|false) – default is true
disabled resolvers – default is false
Like this : [twk-album width=”200″ height=”200″ autoplay=true disabled_resolvers=”Soundcloud,Officialfm”]TOMAHK_ALBUM_URL[/twk-album]
Localization
