I managed to put an embedded Youtube video on a web page created using Flutter for Web. The problem is that this video widget disappears while the page is scrolled up or dow
I believe this is a known issue for Flutter, since the view is being rebuilt it rebuilds the webpage as well. Odd.
If you look at flutter_webview_plugin the author writes:
Warning: The webview is not integrated in the widget tree, it is a native view on top of the flutter view. You won't be able see snackbars, dialogs, or other flutter widgets that would overlap with the region of the screen taken up by the webview.
If you can find a way to get the webview OUT of the widget tree, I bet it works without refreshing, it would of course render over everything else though.
Let me know if you figure out a work around because I'm in the same boat.