muslimtv / flutter_playout

AV Playout in Flutter
BSD 3-Clause "New" or "Revised" License
154 stars 93 forks source link

Not working when i using in listview builder #36

Open socialpixe opened 4 years ago

socialpixe commented 4 years ago

[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

KhuramKhalid commented 4 years ago

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

socialpixe commented 4 years ago

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.

KhuramKhalid commented 4 years ago

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

socialpixe commented 4 years ago

Oh cool. Thanks

jramos-tera commented 4 years ago

@socialpixe How did you solve it, list it?

hosajadi commented 3 years ago

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

dragonkhoi commented 3 years ago

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.