fxreddit icon indicating copy to clipboard operation
fxreddit copied to clipboard

Doesn't seem to work with Telegram

Open ZornTaov opened this issue 1 year ago • 2 comments

https://rxddit.com/r/virtualreality/comments/19dpmuf/spatial_vacuuming/ this link works on discord, embedding as a video, but on telegram it shows up as the usual reddit watermarked embed preview image like it would with a regular reddit link.

ZornTaov avatar Jan 25 '24 14:01 ZornTaov

yep^ i suppose adding telegram useragent to ur list of allowed useragents, would be nice

optionsx avatar Mar 31 '24 05:03 optionsx

I'm open for a PR to make this happen.

MinnDevelopment avatar Mar 31 '24 17:03 MinnDevelopment

Maybe if you remove https://github.com/MinnDevelopment/fxreddit/blob/ebd68f3cbbddac921b4952f69c84b099493fcada/src/endpoints/post.ts#L34 this line it would work on Telegram, since fxtwitter doesn't have the <meta http-equiv="Refresh" content="0; URL=[url]"> And it works fine in Telegram. @MinnDevelopment

pwall2222 avatar Sep 18 '24 13:09 pwall2222

https://github.com/dylanpdx/vxReddit this one works with telegram!

sjain882 avatar Sep 19 '24 18:09 sjain882

I've removed the http equiv meta tag, does that resolve this issue?

MinnDevelopment avatar Sep 22 '24 10:09 MinnDevelopment

Screenshot_20240922_142832_Nagram~2

https://www.rxddit.com/r/london/comments/1fllaua/certified_tfl_moment/

Seems to work with sound, yes. As for the varying formats and full audio support with those, will probably need more testing. Thanks for the update!

sjain882 avatar Sep 22 '24 13:09 sjain882

Audio support is limited, since Reddit doesn't generally provide videos with audio. And since this is hosted on Cloudflare workers, re-encoding videos is not possible.

If you encounter any specific issues besides missing audio, feel free to open a new issue.

MinnDevelopment avatar Sep 22 '24 17:09 MinnDevelopment