flutter_playout
flutter_playout copied to clipboard
the Widget blocks the UI
I am creating an interface like this
In the first render time the widget blocks the UI and also when the widget was rendered and the parameter url changes the widget blocks the UI again.
Every time I click on one of the items in the list the video url changes
Unfortunately there isn't a way to optimise the player loading because we're using platform views which run on UI thread. There isn't any way to make them run on separate thread. This causes the whole player setup to cause jitter or blocking on the UI. Unless this feature is added to the platform views there's nothing much we can do.