Widget:Music163:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
| 第77行: | 第77行: | ||
else { height_type = 430; } | else { height_type = 430; } | ||
if (float !== "none") { self.addClass(`float-${float}`); } | if (float !== "none") { self.addClass(`float-${float}`); } | ||
self.empty().append(`<a rel="nofollow noreferrer noopener" class="external text" href="https://music.163.com/#/${types[+type]}?id=${id}" target="_blank"><img src="https://s1.music.126.net/music.ico"></a><span class="music163CopyrightNotice">[<a href="javascript:void(0);">版权受限</a>]</span>`).attr("title", `${title || that.title || `id ${id}`} - 网易云音乐`); | self.empty().append(`<a rel="nofollow noreferrer noopener" class="external text" href="https://music.163.com/#/${types[+type]}?id=${id}" target="_blank"><img src="https://s1.music.126.net/music.ico"></a><span class="music163CopyrightNotice">[<a href="javascript:void(0);">{{color|blue| 版权受限}}</a>]</span>`).attr("title", `${title || that.title || `id ${id}`} - 网易云音乐`); | ||
const iframe = $("<iframe/>"); | const iframe = $("<iframe/>"); | ||
iframe.attr("data-src", `//music.163.com/outchain/player?type=${type}&id=${id}&auto=0&height=${height_type}`); | iframe.attr("data-src", `//music.163.com/outchain/player?type=${type}&id=${id}&auto=0&height=${height_type}`); | ||
2021年6月20日 (日) 08:45的版本
Only for {{Music163}}