RocketChat/EmbeddedChat

Image and Video attachments not rendering on chat.

Closed this issue ยท 12 comments

Description:

The Image and videos which are sent on chat are not rendered like they should.

Steps to reproduce:

  1. Click on Attach-More-Plus-Icon to attach files in Chat-input.
  2. Select any image or video, and send the message.
  3. These are not rendered on chat

Expected behavior:

Should be rendered.

Actual behavior:

attach.webm

Hey, I would like to work on this one!

@umangutkarsh off topic here. Not able to set up local environment.
image
Not able to send message?

I've rocket.chat server running on localhost:3000. Is it necessary to run yarn dev in the packages/auth as well? For the packages/react to work?

@umangutkarsh off topic here. Not able to set up local environment. image Not able to send message?

I've rocket.chat server running on localhost:3000. Is it necessary to run yarn dev in the packages/auth as well? For the packages/react to work?

Click on JOIN, Just login using the credentials with which you have signed up.
Are you able to send and receive messages?

@umangutkarsh I think this issue is fixed or the images weren't rendering because of some network issue that you might be facing.

20240101203504.mp4

@umangutkarsh off topic here. Not able to set up local environment. image Not able to send message?

I've rocket.chat server running on localhost:3000. Is it necessary to run yarn dev in the packages/auth as well? For the packages/react to work?

No, it is not necessary.
Send the console logs.

@umangutkarsh off topic here. Not able to set up local environment. image Not able to send message?
I've rocket.chat server running on localhost:3000. Is it necessary to run yarn dev in the packages/auth as well? For the packages/react to work?

Click on JOIN, Just login using the credentials with which you have signed up. Are you able to send and receive messages?

@umangutkarsh NO, I did clicked the join button and entered the email/username and password nothing happens further.

Hey @ameeetgaikwad,

  • go to localhost:3000/admin (rocketChat server)
  • go to settings
  • search for CORS
  • then scroll down to find enable cors option
  • toggle it ON and save changes
  • now try to login again

See if this works! ^^

@umangutkarsh I think this issue is fixed or the images weren't rendering because of some network issue that you might be facing.

20240101203504.mp4

Hi @Yashraj7890 .
I'll check this out again. Thanks for letting me know.

@umangutkarsh I think this issue is fixed or the images weren't rendering because of some network issue that you might be facing.

20240101203504.mp4

Hi @Yashraj7890
The images are not rendering on my chat screen. Will close it if anyone else confirms.

Hey @umangutkarsh, earlier it was working fine for me (2nd January)

But today I am also facing the same problem

image

And Now its working again :)

image

Hey @Akshun-01 . Thanks for letting me know, maybe because of some network problem.
Closing this issue, since problem occurred due to network issue
I'll close this issue.