MinnDevelopment / fxreddit

Provides improved reddit embeds for services such as Discord.
https://rxddit.com
Apache License 2.0
125 stars 6 forks source link

No audio for rxddit video embeds #55

Open fadster opened 4 months ago

fadster commented 4 months ago

Embedded videos using rxddit don't have audio.

MinnDevelopment commented 4 months ago

Reddit does not provide videos with audio out of the box, it uses a streaming system which combines an audio and video stream at runtime. An embed service cannot do this, it can only provide a link to a video file or player directly.

For some videos we do have audio, but especially longer ones are not possible to do through embeds, because it would require manually re-encoding the stream while the embed is loaded. Since this is hosted on Cloudflare workers, re-encoding a video is out of the question, and it would likely be too slow to do for longer videos anyway.