Added Spotify, Tidal and IG embeds

https://open.spotify.com/track/4i9lLQkiseKbBFg9JBBkld?si=cb214e09778b495d

Reply to this note

Please Login to reply.

Discussion

is oEmbed actually still a thing?

Idk, I'm doing my own iframes

const spotifyRegex = /(?:https?:\/\/)?(?:www\.)?(?:open\.spotify\.com\/track\/)([\w-]+)(?:\S+)?/g;

replacedText = reactStringReplace(replacedText, spotifyRegex, (match, i) => {

return (

class="audio"

key={match + i}

width="650"

height="200"

style={{ maxWidth: '100%' }}

src={`https://open.spotify.com/embed/track/${match}?utm_source=oembed`}

frameBorder="0"

allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"

allowFullScreen

/>

);

});

Tidal uses oEmbed

Spotify embed caused Brave to ask to install some Widevine DRM BS extension. If that's bothering users, I can disable Spotify embeds.

I am on brave and I still have spotify integration without extension

That's exactly what we were talking about today. It's good that it seems to work well. If possible, it would be better if the scroll bar on the right disappears.

Scroll bar should be removed now

Sounds good 👍

How to Apple Music ?

Type O Negative, nice!

🔥🔥🔥

Thank you ser. Google music too plsss