Skip to content
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

Some video link previews don't work #28835

Open
vsl-iil opened this issue Jan 7, 2025 · 0 comments
Open

Some video link previews don't work #28835

vsl-iil opened this issue Jan 7, 2025 · 0 comments
Labels

Comments

@vsl-iil
Copy link

vsl-iil commented Jan 7, 2025

Steps to reproduce

The issue is somewhat tricky to reproduce.

  1. Download some random videos and upload them to an HTTP server/web hosting. These may have same format supported by Telegram (e.g. MP4), same encoding, same framerate;
  2. Paste each video's URL in Telegram message and send it, e.g. to Saved Messages;
  3. Observe how some videos get video preview attached, while others don't.

This behavior actually seems to be a part of some deeper issue, as Telegram Bot API also fails to retrieve videos without previews for no discernable reason, so it may not be the issue with the client specifically, but I'm not sure where this issue really belongs then.

Example:

This video link has a preview when sent and is retrievable by bot API: https://visil.gw.lt/img/ibZFe0ayLUA.mp4
This as well: https://visil.gw.lt/img/tmpupload.mp4
But not this: https://visil.gw.lt/img/or-HhIfG800.mp4
All three are viewable in browser. I tried to update cache with @webpagebot, but to no avail. All three videos are nearly identical in their properties, aside from length, as far as I can tell.

image
image
image

Expected behaviour

All videos should be able to be previewed.

Actual behaviour

Some videos don't get a preview, no matter the URL or filename or framerate.

Operating system

Windows 11 23H2

Version of Telegram Desktop

5.10.1

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

@vsl-iil vsl-iil added the bug label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant