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

Videos appear squared on iOS devices #1477

Open
2 tasks done
Laiteux opened this issue Aug 4, 2024 · 1 comment
Open
2 tasks done

Videos appear squared on iOS devices #1477

Laiteux opened this issue Aug 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Laiteux
Copy link

Laiteux commented Aug 4, 2024

Checklist

  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues

Description

Some videos appear squared when played on iOS devices. However, the videos display correctly (in terms of dimensions) on Desktop.

Here can be found some examples: https://t.me/iOS_1477

Expected Behavior

Desktop

Actual Behavior

iOS

Environment

Device: iPhone 13 Pro

iOS version: 17.5.1

App version: 10.15

@Laiteux Laiteux added the bug Something isn't working label Aug 4, 2024
@Laiteux
Copy link
Author

Laiteux commented Aug 4, 2024

I specified Width & Height properties when uploading my video via the bot API, and that made the video load then play with the proper dimensions on iOS!

Without those, the iOS client seems unable to deduct dimensions from the video file itself, and displays it as a square instead.

Or maybe it was setting the Thumbnail property that helped. Or maybe both at this point, considering how strange the bot API can be at times. Not sure and can't be arsed debugging further, but surely the answer to my issue lies there.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant