Flutter_widget_from_html: embeded facebook videos leads to an infinite loop

Created on 9 Sep 2019  ยท  6Comments  ยท  Source: daohoangson/flutter_widget_from_html

whenever there is an included facebook video it directs the app to the default browser of the phone and leads to an infinite loop of opened windows with the same link of the video

bug

Most helpful comment

I have been able to track down the issue, this commit should fix it: 8c8897529138a276a10a0160c338f91c7ed98566

A new version will be released soon with the fix. Sorry for the inconvenience.

All 6 comments

What is the full HTML that triggers this bug?

Also, are you testing on Android / iOS, device or simulator?

the html : "<p>ุฃุจุฑุฒ ุงู„ุงุฎุจุงุฑ ุงู„ู…ุญู„ูŠุฉ ูˆุงู„ุนุงู„ู…ูŠุฉ ุงู„ุชูŠ ุชู†ู€ู€ู€ู€ุงูˆู„ู‡ุง ู…ูˆู‚ุน ุงู„ูˆูƒูŠู„ ุงู„ุฅุฎุจุงุฑูŠ ูˆู…ูˆู‚ุน ู‡ู„ุง ุฃุฎุจุงุฑู„ู‡ุฐุง ุงู„ูŠู€ู€ู€ู€ู€ู€ู€ูˆู… ุงู„ุฎู…ูŠุณ ุงู„ู…ูˆุงูู‚ 5/9/2019:</p><p>&nbsp;</p><p><iframe src=\"https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FMohammadAlwakeelshow%2Fvideos%2F455133578548821%2F&amp;show_text=0&amp;width=560\" width=\"560\" height=\"315\" style=\"border:none;overflow:hidden\" scrolling=\"no\" frameborder=\"0\" allowtransparency=\"true\"allowfullscreen=\"true\">

"`

The code That Iam using it inside :
HtmlWidget(
html,
webView: true,
webViewJs: true,
unsupportedWebViewWorkaroundForIssue37: true,
// factoryBuilder: (c, hw) => _BlockquoteWebViewWf(c, hw),
),

Thanks in advance

And I have tested it on Andriod emulator and read device...didnot test it on ios yet

Any updates regarding this issue?

I have been able to track down the issue, this commit should fix it: 8c8897529138a276a10a0160c338f91c7ed98566

A new version will be released soon with the fix. Sorry for the inconvenience.

Thanks a lot...It works perfectly now

Was this page helpful?
0 / 5 - 0 ratings