「Widget:AppleMusic」の版間の差分
ナビゲーションに移動
検索に移動
細編集の要約なし |
細 (テンプレートでラップする(高さ)) |
||
14行目: | 14行目: | ||
{{#widget:AppleMusic|src=album/1648471974}} | {{#widget:AppleMusic|src=album/1648471974}} | ||
{{#widget:AppleMusic|src=song/1648471975}} | {{#widget:AppleMusic|src=song/1648471975}} | ||
== メモ == | |||
height | |||
* album 450 | |||
* song 175 | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<iframe src="https://embed.music.apple.com/<!--{$country|escape:'html'|default:'jp'}-->/<!--{$src|escape:'urlpathinfo'}-->" | <iframe src="https://embed.music.apple.com/<!--{$country|escape:'html'|default:'jp'}-->/<!--{$src|escape:'urlpathinfo'}-->" | ||
height="<!--{$height|escape:'html'|default:'450'}-->" frameborder="0" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation" allow="autoplay *; encrypted-media *; clipboard-write" style="width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px; transform: translateZ(0px); animation: 2s ease 0s 6 normal none running loading-indicator; background-color: rgb(228, 228, 228);"></iframe> | height="<!--{$height|escape:'html'|default:'450'}-->" frameborder="0" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation" allow="autoplay *; encrypted-media *; clipboard-write" style="width: 100%; max-width: 660px; overflow: hidden; border-radius: 10px; transform: translateZ(0px); animation: 2s ease 0s 6 normal none running loading-indicator; background-color: rgb(228, 228, 228);"></iframe> | ||
</includeonly> | </includeonly> |
2023年3月18日 (土) 19:49時点における最新版
このウィジェットはApple MusicをMediaWikiに貼り付けられるようにするものです。
使い方
{{#widget:AppleMusic|src=album/1648471974}} {{#widget:AppleMusic|src=song/1648471975}}
例URL:https://tools.applemediaservices.com/album/1648471974
src - トラック、アルバムのURLからhttps://tools.applemediaservices.com/を除いたもの
表示例
メモ
height
- album 450
- song 175