flutter_playout icon indicating copy to clipboard operation
flutter_playout copied to clipboard

the Widget blocks the UI

Open darwin-morocho opened this issue 4 years ago • 1 comments

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

darwin-morocho avatar Mar 31 '20 20:03 darwin-morocho

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.

KhuramKhalid avatar Aug 25 '20 16:08 KhuramKhalid