flutter_playout icon indicating copy to clipboard operation
flutter_playout copied to clipboard

Not working when i using in listview builder

Open socialpixe opened this issue 4 years ago • 7 comments

[ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create an already created platform view, view id: 1

socialpixe avatar Apr 08 '20 15:04 socialpixe

Don't think it'll work in a list view yet. Needs some more work to make that work.

KhuramKhalid avatar Apr 13 '20 08:04 KhuramKhalid

Thanks for reply, found the solution of that. Just one query, can i change the color of player icons like of play, pause, forward and seek slider. If that can feasible, i will be glad.

socialpixe avatar Apr 13 '20 08:04 socialpixe

You can disable native player controls and create your own controls on top of the player. That would probably be the best way.

KhuramKhalid avatar Apr 13 '20 08:04 KhuramKhalid

Oh cool. Thanks

socialpixe avatar Apr 13 '20 08:04 socialpixe

@socialpixe How did you solve it, list it?

jramos-tera avatar Jun 11 '20 02:06 jramos-tera

if using in ListView, the player stops working after scrolling one solution can be using the cacheExtent in ListView, like cacheExtent:2000

hosajadi avatar Apr 12 '21 14:04 hosajadi

Any updates on getting videos to play correctly in ListView.custom? Scrubbing works but it won't play. I have multiple videos I want to show in a scrollable list.

dragonkhoi avatar Aug 17 '21 19:08 dragonkhoi