「Widget:AppleMusic」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「<noinclude> このウィジェットはApple MusicをMediaWikiに貼り付けられるようにするものです。 [https://tools.applemediaservices.com/apple-music Market with Apple Music] == 使い方 == <pre>{{#widget:AppleMusic|src=album/1648471974}} {{#widget:AppleMusic|src=song/1648471975}}</pre> 例URL:[https://tools.applemediaservices.com/album/1648471974?country=jp https://tools.applemediaservices.com/album/1648471974] src - トラック、アル…」) |
(fix) |
||
17行目: | 17行目: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<iframe src="https://embed.music.apple.com/{$country|escape:'html'|default:'jp'}/ | <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:39時点における版
このウィジェットは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/を除いたもの
表示例