Jump to content

Apple Music Song Embedding (Support Topic)

Featured Replies

Posted

Support for 

 

Very cool! When I upgrade to 4.5 I'mma try this out 🙏 @opentype Thank you.

No need to ask users to add embed.music.apple.com into allowed iframe bases, just hook into \IPS\Text\Parser::allowedIFrameBases() and add it on your side 😉 

On 8/22/2020 at 12:27 PM, breatheheavy said:

Very cool! When I upgrade to 4.5 I'mma try this out 🙏 @opentype Thank you.

Hey @opentype, this might be a stupid question, but would this plugin potentially work for 4.4? 

  • 3 months later...

Hello. I just bought your plug-in. Very good.

However, vertical display is limited.

For a single song it's ok but for an album or a playlist, Apple's iframe has the value height = "450".

Where can I change this value in your script?

  • Author

Yeah, I can replicate this problem and I will provide an update. 

Update working. Thanks!

  • 1 year later...

Any idea if this plugin will also work for Apple Podcasts?

  • Author
5 hours ago, JacobM said:

Any idea if this plugin will also work for Apple Podcasts?

It works for links from the Music app starting with …
https://music.apple.com/
This can include podcasts. 

It won’t work for links copied in the podcasts app which start with …

https://podcasts.apple.com/

11 hours ago, opentype said:

It works for links from the Music app starting with …
https://music.apple.com/
This can include podcasts. 

It won’t work for links copied in the podcasts app which start with …

https://podcasts.apple.com/

Thanks, that answers my question perfectly.

  • 3 months later...

Hi Ralf

How do you change the theme from light to dark?  I can do this in the browser console, but can't find any templates or CSS files. 

<embed-root realm="music" theme="dark" data-dashlane-observed="true" class="root ltr music large" hydrated=""></embed-root>

Gives this:

Could contain: Text, File, Person, Human, Interior Design, Indoors, Paper

As opposed to default:

Could contain: Text, Person, Human

I have both light and dark themes so I'd like light on light and dark on dark.

Other than that it works brilliantly.   With thanks 🙂

  • Author

The embed code is hard-coded in the post, so changing something dynamically is not easily possible. And the styling itself comes from within the iframe. 

  • 4 months later...

Hello!

Will this plugin be upgraded to PHP 8.x? I just upgraded to the latest IPS and PHP 8.1, so the plugin was automatically disabled because it is not PHP 8.0 compatible.

Thanks in advance!

Edited by LDDG

  • Author

I have it running under 8.1 without being flagged or deactivated. I am not aware of any incompatibilities. 

🤔 hmmm Let me activate it and see if it works. Maybe the IPS upgrade script flagged it erroneously. I'll keep you posted.

Nevermind! I thought I was on the latest version of the plugin but I wasn't. *facepalm*

Updated it from 1.0.1 to 1.0.2 and now it works. Thanks for responding and keep up the great work!

 

 

Edited by LDDG

Recently Browsing 0

  • No registered users viewing this page.