Hello, Dinesh,

I’m glad I helped a bit.

Regarding your issue, you can manipulate the HTML DOM using the dart:html core or, better, the package:universal_html/html.dart package — the one used in the main piece at runtime.

Another solution is to move the <div id=”jwPlayer”>Loading the player…</div> at the bottom of the HTML page after the <script src=”main.dart.js” type=”application/javascript”></script>.

The latter might harm your Flutter web app users by catching all mouse events…

Good luck!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store