From 44fe634343824f52c669c4f293d5e5ddeba4bcbd Mon Sep 17 00:00:00 2001 From: toddZeil Date: Mon, 22 Jan 2024 14:25:04 +1300 Subject: [PATCH] Add documentation to the play function --- lib/src/material/material_desktop_controls.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/material/material_desktop_controls.dart b/lib/src/material/material_desktop_controls.dart index e271b2665..2e1a92d9c 100644 --- a/lib/src/material/material_desktop_controls.dart +++ b/lib/src/material/material_desktop_controls.dart @@ -510,9 +510,11 @@ class _MaterialDesktopControlsState extends State if (!controller.value.isInitialized) { controller.initialize().then((_) { + //[VideoPlayerController.play] If the video is at the end, this method starts playing from the beginning controller.play(); }); } else { + //[VideoPlayerController.play] If the video is at the end, this method starts playing from the beginning controller.play(); } }