-
-
Notifications
You must be signed in to change notification settings - Fork 11
No audio for rxddit video embeds #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. |
How does vxReddit handle it? Try this one for example: https://www.reddit.com/r/SipsTea/comments/1ifj2nc |
They download and manually convert the videos, which only works for some cases where the video is short enough. I can't do that on cloudflare workers, since they are not designed for this kind of task (and downloading videos does not scale well for a free service). |
Embedded videos using rxddit don't have audio.
The text was updated successfully, but these errors were encountered: