funmusicplace / mirlo

An open source audio distribution and patronage platform
https://mirlo.space/
GNU General Public License v3.0
110 stars 20 forks source link

Embeded in Discourse #328

Open LouisLouiseKay opened 8 months ago

LouisLouiseKay commented 8 months ago

Because I use discourse a lot, I wanted to see if our embeded would work the same way bandcamp's does (basically just paste the link of a song and it works as in this example) 2023-11-30_121333

However when pasting a link from the Mirlo embed I get this error 2023-11-30_121201

Don't know if this is helfpul but I thought I'd share ! Having embeded work in places like discourse would help a lot as a lot of audio communities use tools like this.

simonv3 commented 8 months ago

This is handled by the social media tags https://github.com/funmusicplace/mirlo/issues/66

and is very possibly related to the fact that Netlify only handles specific user agents to serve its pre-rendered pages https://github.com/funmusicplace/mirlo/issues/100#issuecomment-1820968937

I'm adding some og tags for a player that I'm copying from the bandcamp <head>

simonv3 commented 8 months ago

Added a question here https://answers.netlify.com/t/support-guide-understanding-and-debugging-prerendering/150/129?u=psi