Open dneto82 opened 10 years ago
What do you mean? Which kind of resize?
maybe he means compressing before sending a huge video file?
Sorry for delay.
Its correct. I
m talking about compress and resizee before sending a video or big pictures..... such WhatsApp do.
personal i think, if this will be implemented, it should be optional. I hate receiving photos from friends, risized to 480x800 px, not enought to print a small photo :-/
@stefan-niedermann same for me. While there are some options for Javascript image resizing, I don't find this feature useful, as Webogram is mostly a desktop version of Telegram. People have big screens and can download images to view in full size.
As for the videos quick googling didn't give any production ready way to manage the task.
http://firefogg.org could be a solution ? Maybe this https://www.webrtc-experiment.com/ffmpeg/webm-to-mp4.html ? Actually this ? https://bgrins.github.io/videoconverter.js/ I also found out that many people don't have telegram yet so what about using those unused SMS you find in your mobile plan to reach people without telegram anyway: they'll simply receive a link of a webchat via SMS!
This demonstrates that it's possible to convert vids via js: https://video-funhouse.herokuapp.com/
@zhukov large screenshots from macOS with retina display are sent as files since they are to big and not compressed when sent via telegram web.
Currently when sending Video using Upload Media option, it will not embed it in a player if it's bigger and will send it as a file. I think it should send the original file when sending as a file and a compressed one for embedding, when sending as Media, but allow downloading the original too. I think this is how mobile Telegram apps behave now. Uploading pictures is debatable, but uploading Video as Media should allow to view it in the chat.
Please support media resize.