flutter_widget_from_html
flutter_widget_from_html copied to clipboard
IFRAME does not respect width attribute
Steps to Reproduce
HTML
<h1>Some title</h1>
<p>Some text and the image</p>
<img src="https://online.schtandart.com/sites/default/files/inline-images/mailservice%20%2845%29_0.png"
data-entity-uuid="7575acb9-2cb1-4caf-84d0-7768199fd85a" data-entity-type="file">
<p> </p>
<p><strong>Some bold text</strong> and the link <a
href="https://www.youtube.com/watch?v=Fcoo_KWp1GA&t=628s">here</a> in the text.</p>
<p>And video at the end</p>
<p><iframe width="560" height="315" src="https://www.youtube.com/embed/RwP-ZfWV5TQ?si=wWETfSHEiJ0yoKaS"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen=""></iframe></p>
`HtmlWidget` configuration
HtmlWidget(html)
Expected results
IFRAME's width is 560px.
Actual results
Full width.
v0.14.8 has been released with the fix for this. Please try upgrading to see whether it works for you.