stream-chat-flutter icon indicating copy to clipboard operation
stream-chat-flutter copied to clipboard

Issues with video attachments on web

Open Ayush-gupta-josh opened this issue 3 years ago • 0 comments

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

Web

What version are you using?

5.0.1

What happened?

There are two scenarios where video attachment breaks.

  1. When we select any video -

    • When we select any video of size within the size limit then it breaks due to Unexpected null value.

    • In my opinion, this code is causing an error because you have mentioned that there will be no URL in case of web and here you are making it a mandatory value. implement

    • Screen breaks with this error image

  2. When we select a large video -

    • When we select a large video then there is no error on the screen instead it shows an Unexpected null value error in the console.

Reference Video

https://user-images.githubusercontent.com/67139749/194246733-4e6e8257-9f41-43e5-b501-6782b574101b.mp4

https://user-images.githubusercontent.com/67139749/194248480-3acc88a8-7c85-484f-8f16-6df12d616896.mp4

Steps to reproduce

Refer to the attached video.

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Ayush-gupta-josh avatar Oct 06 '22 07:10 Ayush-gupta-josh