Fixes double video auto initialize issue and placeholder for video controller

This commit is contained in:
Marty Fuhry
2024-03-01 13:54:03 -05:00
parent 670a3838a3
commit f18872c18c
2 changed files with 1 additions and 6 deletions
@@ -40,7 +40,7 @@ class VideoViewerPage extends HookWidget {
controlsSafeAreaMinimum: const EdgeInsets.only(
bottom: 100,
),
placeholder: placeholder,
placeholder: SizedBox.expand(child: placeholder),
showControls: showControls && !isMotionVideo,
hideControlsTimer: hideControlsTimer,
customControls: const VideoPlayerControls(),