Best approach for uploading videos?
See original GitHub issueHi there,
I’m wondering the best way to upload an mp4 video using gramjs. Right now I can successfully upload a video via:
sendFile(client, entity, { file });
where the entity is a Channel instance and the file
is a filepath to the video on my hard drive. However, when the video appears in the channel, it has no thumbnail, and it says the length of the video is 0:00:00
.
If I drag and drop the same file through the telegram desktop app, the thumbnail appears and the video length is correct. Are there extra steps or a different approach I need to take when uploading a video using gramjs?
Thank you in advance, and thank you for the great module!
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
7 Best Practices for Uploading Videos to the Web | SproutVideo
7 Best Practices for Uploading Videos to the Web · 1. Capturing the Video · 2. Timeline Settings for Editing the Footage ·...
Read more >The Video Creating, Transcoding, and Uploading Workflow
This article offers best practices for recording, exporting, uploading and publishing your Video Cloud videos that assures optimum playback ...
Read more >Best Practices for Client Video Uploading
Best Practices for Client Video Uploading · Be on a Reliable Network · Trim the Videos · Do Not Navigate Away from the...
Read more >How to upload a video to YouTube: Pre, during, & post checklist
Learn these essential techniques that help your video get found in search rankings and also how to upload videos you Youtube the right...
Read more >How To Send Large Video Files In 2023 - MASV
Cloud Solutions. Using a cloud solution like MASV, WeTransfer, or Dropbox is by far the most popular method of sending large videos. Cloud ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you can add an example to the doc string of sendFile (in this repo) and they will be updated here https://gram.js.org/beta/classes/client_telegramclient.telegramclient.html#sendfile
good luck. it will look something like this