Sub6Resources / flutter_html

A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
https://pub.dev/packages/flutter_html
MIT License
1.8k stars 874 forks source link

iFrames full screen not working[BUG] #1198

Closed Nary-Vip closed 1 year ago

Nary-Vip commented 1 year ago

BUG: iFrames video(for eg., YouTube, Vimeo) full screen mode is not working. Checked out the entire issue section of this package's Github, couldn't find any relevant solution.

HTML Content:

<p><iframe src=\"https://www.youtube.com/embed/YBZdx2Jmbds?ab_channel=TheMightyIndia\" width=\"560\" height=\"314\" allowfullscreen=\"allowfullscreen\"></iframe></p>\r\n<p>&nbsp;</p>\r\n<p>asdf</p>

Html widget configuration:

Html(
data: htmlContentVariable
);

Device details and Flutter/Dart/flutter_html versions: flutter_html: ^2.2.1 Flutter version: 3.0.5

Sub6Resources commented 1 year ago

Does fullscreen work in the WebView widget?

Sub6Resources commented 1 year ago

We encourage you to try the new 3.0.0 versions that have upgraded versions of the flutter_webview plugin. Please let us know if this doesn't resolve your issue.