April 24, 2024

How to add Apple Music to a Website

How to Add Apple Music Player to a Website

For add an Apple Music player to your website, click any playlist, album, song or artist and select "Share".

Then click on "Copy Embed Code" and paste that code in HTML into a web page to your website where you want the Apple Music player to appear.

If you want that the Apple Music player to appear on the center to the page to your website, before pasting the code, in HTML write the following piece of code:
<center>

Below there is an example of embed code from my album The Best of Solo Piano on how to add Apple Music player to your website:

<center><iframe allow="autoplay *; encrypted-media *; fullscreen *; clipboard-write" frameborder="0" height="450" style="width:100%;max-width:660px;overflow:hidden;border-radius:10px;" sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-storage-access-by-user-activation allow-top-navigation-by-user-activation" src="https://embed.music.apple.com/us/album/the-best-of-solo-piano/1406719564"></iframe>

Below you can see how the Apple Music player to appear after pasting the embed code into HTML.



James Lazzeroni, solo piano artist
Official Website

No comments:

Post a Comment