htmlWidgetWithPlatformMedia method
Widget
htmlWidgetWithPlatformMedia(
- BuildContext context,
- AppModel app,
- String html, {
- List<
HtmlPlatformMediumModel> ? htmlPlatformMedia,
override
Implementation
@override
Widget htmlWidgetWithPlatformMedia(
BuildContext context, AppModel app, String html,
{List<HtmlPlatformMediumModel>? htmlPlatformMedia}) {
return mobileHtmlSolution(context, app, html,
htmlPlatformMedia: htmlPlatformMedia);
/*
* This has now become obsolete as apparently the latest version of HtmlWidget works fine on web and mobile without the below funny stuff
if (html.toUpperCase().contains("<VIDEO")) {
return webHtmlSolution2(
context, html, );
} else {
return webHtmlSolution(
context, app, html, htmlPlatformMedia: htmlPlatformMedia);
}
*/
}