Skip to content
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

Flutter Web: video_player_web videos are not playing on Iphone Safari browser #39

Open
razfazz opened this issue Jan 21, 2023 · 4 comments

Comments

@razfazz
Copy link

razfazz commented Jan 21, 2023

I am using video_player: ^2.5.1 and video_player_web_hls: ^1.0.0+1 and videos are not playing on iphone 13 mit iOS 16.1 Safari browser, but on all other platforms.

The error is "The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission"

@zogol
Copy link

zogol commented Jan 23, 2023

i have the same issue. moved to iframe because of it. hopefully this gets fixed soon

@balvinderz
Copy link
Owner

can you folks share the url that you are trying to play.

@balvinderz
Copy link
Owner

try using 1.0.0+2 @zogol @razfazz

@razfazz
Copy link
Author

razfazz commented Jan 25, 2023

still the same issue.

one testvideo i used is this one https://download.samplelib.com/mp4/sample-30s.mp4

i tried it with many different videos and it looks like it is something else.

https://stackoverflow.com/questions/72405566/cant-play-video-on-ios-in-safari-notallowederror-the-request-is-not-allowed-

maybe on safari there needs to be some special init values for the videoplayer to prevent that error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants