-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS Failed to load video #148
Comments
@blackmann Can you please take a look at this? this is causing issues for me. |
Hey, I am having the same issue. Have you got a solution? Thanks |
I was able to resolve this problem by loading the video directly from the url instead of the cached file. The error might be related to the caching in the |
@jerrypaulsam What does that mean, loading the video directly from the url, instead of cached file? How do you load the video "directly"? In my case, I just pass the media url to StoryItem.pageVideo constructor, but still fails on iOS:
How do you load a video from a cache? You do not have access to VideoLoader here. |
@MartinBergerDX Hey Martin, We forked the repo and made slight changes to the code. |
@jerrypaulsam Thanks for the answer! There are about 50 forks for story_view and I could not find your fork. But does not matter, I fixed it. I have fixed it by adding ContentType to my files when uploading them with Amplify.Storage category in Flutter.
By using S3UploadFileOptions.
ContentType is set to video/mp4 and when specified here is reflected on S3 in AWS Console. [year 2023] AWS is making an update for this. It seems that story_view requires some maintainers, it is awfully forgotten :) Take care. |
any solution please i'm stuck in this problem ? |
really very bad support, no update on this issue, many users facing this issue form more than 1 year, they have the new versions but no fix on this issue, also no reply |
any updates ? |
Hello,
I have this exception when i play video on iOS only
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: PlatformException(VideoError, Failed to load video: Cannot Open, null, null)
I init the item :
When I play the same video with the video_player it still works correctly
VideoPlayerController.network(**myurl**);
I saw some parts that it could come from the header of the video returned from the server.
Here is my header :
This is a known issue ?
The text was updated successfully, but these errors were encountered: