RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.62k stars 10.63k forks source link

Show Thumbnails/Preview for Uploaded Videos #32009

Open emoxam opened 8 months ago

emoxam commented 8 months ago

Description:

No Thumbnails/Preview for Uploaded Videos

Steps to reproduce:

  1. send avi file fox example
  2. see there is no Thumbnails/Preview for Uploaded Videos

Expected behavior:

Preview/thumbnail with ability to play.

Actual behavior:

Is it fixed ? Have the the same issue on the 6.6.2 Snap install at ubuntu 20.04.3 LTS. Web page and windows app shows this

image

Server Setup Information:

Client Setup Information

athul-22 commented 8 months ago

Shall I start work on this feature

lovekyleman commented 8 months ago

Rocketchat iOS app needs thumbnails for uploaded videos

Garvanand commented 8 months ago

Kindly assign the issue to me, if it is still open so that I can start the work on it.

My Approach to the issue:

Check for Updates: I will ensure that we are running the latest version of Rocket.Chat.

Verify File Type Support: I will make sure that AVI files are supported for thumbnail generation in Rocket.Chat. will check the official documentation or release notes for supported file types.

Configuration Check: I will review the Rocket.Chat server configuration to ensure that thumbnail generation is enabled and properly configured. There might be settings related to file uploads and previews that need adjustment.

Server Logs: I will check the server logs for any errors or warnings related to thumbnail generation when uploading AVI files. This can provide insights into the root cause of the issue.

satvik2131 commented 8 months ago

Hi @emoxam , I guess there is some issue with the file itself , I have tried and able to see a thumbnail, please correct me if I got something wrong . ![Uploading Screenshot from 2024-03-18 20-37-31.png…]()

emoxam commented 8 months ago

@satvik2131 is it avi file? Can your share a screenshot?

satvik2131 commented 7 months ago

Yes @emoxam , you are right avi files are not showing thumbnails , is this reason is true , please correct if it is wrong ? Screenshot from 2024-03-21 23-09-58

emoxam commented 7 months ago

Yes @emoxam , you are right avi files are not showing thumbnails , is this reason is true , please correct if it is wrong ? Screenshot from 2024-03-21 23-09-58

Maybe, i am not a developer. Can it be played without downloading?

satvik2131 commented 7 months ago

Yes @emoxam , I understood the issue , I will try to fix this . As I can see here I need to create a fallback I guess , I will check and implement it .

satvik2131 commented 7 months ago

Hi @emoxam , actually the issue is by default avi does not provide preview , but for that case we can convert it to other format and have a preview and it's a feature actually . So , I need guidance of any maintainer to implement this .