Now, trying to play the video from appwrite:
player.open(
Media(
"http://178.128.120.48/v1/storage/buckets/65d16fe863975f4dc588/files/66d3416b79c3a12462e9/view?project=65c5df06933e47ebdec4&mode=admin"
// "https://pixeldrain.com/api/file/n4qUcfEb"
// AppwriteClient.getUrl(
// bucketId: attachment.bucketId,
// fileID: attachment.id,
// ),
// httpHeaders: {
// "x-appwrite-jwt": attachment.token,
// },
),
play: false,
);
If you try to observe the video, trying to jump a specific duration but it seems it failed to load
Got an error on docker logs
actually I did not use a custom domain on my self hosted
Oh wait this is the storage service yes?
Happens on custom domain(function) and storage
Recently I blame the package I use but, I curious if I am trying to play a video that is long duration and not from appwrite. ANd I saw that there is no wrong in package because it plays well
Appwrite Storage seems has bugs
yes
Does the package rely on content-length?
What package is it
This one
Played the video on web and the warning in docker still occured
I dont kno what could be the issue here actually.
I'll save this thread for later
I have made similiar experiences
alrights thank you @Joshi
Can you do me a favor and try other packages and then tell me if the issue persist there as well
I think appwrite storage does return the proper parts of the file when you specify the content-range
but from my testing it still does not play properly sometimes idk why
Good to know I'm not alone
will do that
https://github.com/appwrite/appwrite/issues/8600
Create an issue for this
I just fixed it, I used video player , chewie, and video_player_win
and yeah it goes well
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...