You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i have a implementation of showing content in a sequence like e.g. [video, image, image, video, video]
All these are looped through after some interval, and every time a Widget is shown and in that Widget this Player is attached. issue is Video only plays once and when next iteration comes video doesn't play at all only black view is shown.
this is widget's implementation.
`
class VideoPlayer extends StatefulWidget {
const VideoPlayer({Key? key}) : super(key: key);
@OverRide
State createState() => _VideoPlayerState();
}
class _VideoPlayerState extends State with SingleTickerProviderStateMixin {
i am also getting this log when this widget is pushed again CRITICAL **: 19:00:25.155: gboolean fl_method_call_respond(FlMethodCall *, FlMethodResponse *, GError **): assertion 'FL_IS_METHOD_RESPONSE(response)' failed
So i have a implementation of showing content in a sequence like e.g. [video, image, image, video, video]
All these are looped through after some interval, and every time a Widget is shown and in that Widget this Player is attached. issue is Video only plays once and when next iteration comes video doesn't play at all only black view is shown.
this is widget's implementation.
`
class VideoPlayer extends StatefulWidget {
const VideoPlayer({Key? key}) : super(key: key);
@OverRide
State createState() => _VideoPlayerState();
}
class _VideoPlayerState extends State with SingleTickerProviderStateMixin {
@OverRide
void initState() {
super.initState();
}
@OverRide
void initState() {
super.initState();
}
@OverRide
void dispose() {
super.dispose();
vlcPlayer.stop();
}
@OverRide
Widget build(BuildContext context) {
return Container(child: Video(
player: vlcPlayer,
showControls: true,
),);
}
}
`
The text was updated successfully, but these errors were encountered: