-
Notifications
You must be signed in to change notification settings - Fork 822
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
I find the problem that playing videos on ios is not working. #79
Comments
@HiIamAlanOu Thank you for your suggestions. I'll definitely work on your suggestions once i get well. For inline playback, I had been previously maintaining a plugin |
@sarbagyastha Can you please go back to |
Can you check with Version 5 ? |
Issue still persists with 5.0.0+1. |
@py-zoid have you checked with real device instead of simulator ? |
On Android it gives this error: |
@Xoshbin can you please provide some logs ? |
|
@Xoshbin Couldn't recreate the problem. Can you please add some code snippet so that i can recreate the issue? |
|
The first issue was because of the variable "videoAutoPlay" in my code, after changing it to "false" it's fixed. but now the "Error Code: 400" issue is still exist from the first to third videos. because in my app the list is all videos. and after going down from the list and going up again they are working. So basically it looks like when the list is loaded first it gives this error to those that are on the screen and when you go down the videos are working without issue because they were not on the screen when the list is loaded. and after going up again those videos that they were not working at the beginning they are going to work because they have been out of the screen and back again. |
@Xoshbin will test in the scenario you mentioned. |
@sarbagyastha Thanks mate 👍 |
@sarbagyastha is V5.1.0 support inline playback, I mean multiple videos in a list? because I see you swiped back to webview_fluuter instead of ytview library. thanks. |
It should play at least on Android. Will publish beta version of the player within next two days with forked webview_flutter too and web support. |
Fixed with version 5 and up. |
According to this css file(https://sarbagyadhaubanjar.github.io/youtube_player/ios/player.css), this css attribute (transform-origin: left top;) doesnt apply in safari.
@sarbagyastha use a css trick that zoom in and out the web page to remove(become almost invisible) the title and related videos on the youtube embed player.
I make a version that be able to playing the videos on ios, but I have no idea to remove the title and related videos.
You can check out the latest commit in my github.(HiIamAlanOu@d7b4a1a)
Video doesn't play inline on some iPhone in this version.
If you want to play inline on iPhone, maybe you can check out this issue(flutter/flutter#25630) and create your own webview plugin.
The text was updated successfully, but these errors were encountered: