-
-
Notifications
You must be signed in to change notification settings - Fork 820
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
[BUG] in flutter_html, video full screen can't close when AppBar toolbarHeight changed #817
Comments
Hmm. I haven't looked into it in great detail but I think your issue is from the chewie video player project and not flutter_html, as it is chewie who does the video playback including (fake) full screen playback. |
Thank you for your reply,This problem only appears in Flutter_html video. if the video outside the Flutter_html ,It will be normal. so....I have no idea |
We use a package called |
I used flick_video_player by customRender,but It has the same problem . so,I can only use default toolbarHeight to fix the problem |
Wrap the video player in safearea widget and see if it solves the problem |
Describe the bug:
in flutter_html, video full screen can't close when toolbarHeight changed
HTML to reproduce the issue:
<video controls> <source src="videoUrl" /> </video>
Html
widget configuration:Scaffold( appBar: AppBar( toolbarHeight: 100 - MediaQuery.of(context).padding.top, centerTitle: true, flexibleSpace: Stack( children: [ Image.network( 'https://dummyimage.com/143x142', height: 100, width: 100, fit: BoxFit.cover, ), ], ), ), body:ListView( children: [ // VideoPlayerScreen('videoUrl'), Html( data: htmlData, ),], ) ))
Expected behavior:
close video full screen when AppBar tollBarHeight changed
Screenshots:
first widget,It's outside flutter_html,the second widget is in flutter_html
A picture of a cute animal (not mandatory but encouraged)
The text was updated successfully, but these errors were encountered: