Add support for Apple Music embeds #284

Closed
opened 2023-02-13 04:53:24 +00:00 by SamSamskies · 0 comments
SamSamskies commented 2023-02-13 04:53:24 +00:00 (Migrated from github.com)

Display Apple Music links as an embedded player.

For example, posting this link https://music.apple.com/us/album/king/1258976262 would render something like the following iframe:

    <iframe
      allow="autoplay *; encrypted-media *; fullscreen *; clipboard-write"
      frameborder="0"
      height="450"
      style="
        width: 100%;
        max-width: 660px;
        overflow: hidden;
        background: transparent;
      "
      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/king/1258976262"
    ></iframe>
Screenshot 2023-02-12 at 10 49 51 PM
Display Apple Music links as an embedded player. For example, posting this link https://music.apple.com/us/album/king/1258976262 would render something like the following iframe: ```html <iframe allow="autoplay *; encrypted-media *; fullscreen *; clipboard-write" frameborder="0" height="450" style=" width: 100%; max-width: 660px; overflow: hidden; background: transparent; " 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/king/1258976262" ></iframe> ``` <img width="671" alt="Screenshot 2023-02-12 at 10 49 51 PM" src="https://user-images.githubusercontent.com/3655410/218373403-dc7fb28d-8153-44d3-b399-7ddc453983ef.png">
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#284
No description provided.