-
Notifications
You must be signed in to change notification settings - Fork 30
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
Can't play video in Flutter #12
Comments
Hi @ffriande ,
So that's your problem I guess. |
Hi @syonip . I don't understand... I am able to access that link, I have also tried accessing with other computers and in private browsing. |
The error that is thrown is the following
|
There's a 403 response code in the error log you sent:
I tried playing the video on my device and it plays fine. |
Thanks so much for the reply @syonip. So, if you were to take a guess, what would you say the issue is? |
I'm interested how at first I got 403 and then I didn't. Did you change
something?
…On Wed, 13 Oct 2021 at 17:45, Francisco Friande ***@***.***> wrote:
There's a 403 response code in the error log you sent:
E/ExoPlayerImplInternal( 8125): Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403
I tried playing the video on my device and it plays fine.
Thanks so much for the reply @syonip <https://github.com/syonip>.
So, if you were to take a guess, what would you say the issue is?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJKLCIJJAJTG64AJVVBZOLUGWLQZANCNFSM5FXZO44Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I have no idea, I guess Storage Rules take some time to get published and that might be the reason, since I changed them not to require a token and you were trying to access an url with no token. The fact that you can play the video and I can't is just too weird... |
Maybe after you changed the security rules, try to upload a new video and test that one. Maybe some strange caching going on. |
Hi, I'm following this tutorial and I'm having trouble managing to play the video in a player. I have tried the following three players: Chewie, video_player and fijkplayer, without any success, so I figure the issue is to do with the .m3u8 files, or maybe with the ffmpeg command.
Here are the resulting .m3u8 files :
https://firebasestorage.googleapis.com/v0/b/test-a5584.appspot.com/o/video_stream%2Fvideo1%2Fmaster.m3u8?alt=media&token=db8f5331-17e0-4018-b66a-65a6a02c45de
and
https://firebasestorage.googleapis.com/v0/b/test-a5584.appspot.com/o/video_stream%2Fvideo1%2FplaylistVariant.m3u8?alt=media&token=63b5cc6e-4a41-4d4b-8fb8-4994619a5a13
What could be wrong here?
The text was updated successfully, but these errors were encountered: