Skip to content

Commit

Permalink
timer cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed-Ramadan512 committed Oct 23, 2024
1 parent 91bf247 commit 8e306fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/video.dart
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ class _YoYoPlayerState extends State<YoYoPlayer>
void localM3U8play(String url) async {
controller!.dispose();

timer.cancel();
// timer.cancel();

final lastPlayedPos = await controller!.position;
controller = VideoPlayerController.networkUrl(
Expand Down

0 comments on commit 8e306fc

Please sign in to comment.