stream-chat-flutter
stream-chat-flutter copied to clipboard
Issues with video attachments on web
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.
-
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
URLin case of web and here you are making it a mandatory value.
-
Screen breaks with this error

-
-
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 valueerror in the console.
- When we select a large video then there is no error on the screen instead it shows an
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