discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.98k stars 1.27k forks source link

OpenGraph audio tag support #1756

Closed cloutsocks closed 3 years ago

cloutsocks commented 4 years ago

og:video seems supported for an mp4 filetype, but not for mp3, and og:audio doesn't seem to work for mp3 either

is there any way to have an inline audio embed without first wrapping it in a video file?

Dstahl0 commented 4 years ago

I am also seeing this same thing, somehow Spotify is doing it.

paste this link into a discord channel or any shared link from any track.

advaith1 commented 4 years ago

Spotify has a custom integration by Discord

night commented 4 years ago

We do not currently support OpenGraph audio tags.

Dstahl0 commented 4 years ago

@night Is there any public timeframe of when this might get integrated / Testing phase?

shirt-dev commented 3 years ago

Audio support would be really nice @night

PerKiilstofte commented 3 years ago

Just gonna add my 2 cents. I'd very much like to see OG audio support as well. It'd help me personally but I also know quite a few music community channels and game dev channels where it would be very beneficial.

synrg commented 3 years ago

I'm in multiple naturalist & birder Discord communities, some with sizeable memberships (> 1k members) who would benefit from greatly from OG audio tag support. For example, xeno-canto.org (a huge repository of birdsong recordings) sets these 3 audio-related tags:

<meta property='og:audio' content='https://www.xeno-canto.org/489750/download' />
<meta property='music:duration' content='10' />
<meta property='og:audio:type' content='audio/mp3' />

example is from https://www.xeno-canto.org/489750

Right now, everything but the actual audio itself, which is the primary content of the page, shows in the preview embed, forcing the user to leave the channel to hear it.

Tyrving commented 3 years ago

Nothing helpful, just wanted to show support.