diff --git a/Tusker/Screens/Gallery/VideoOverlayViewController.swift b/Tusker/Screens/Gallery/VideoOverlayViewController.swift index 63eb056a11..cbc7d02c45 100644 --- a/Tusker/Screens/Gallery/VideoOverlayViewController.swift +++ b/Tusker/Screens/Gallery/VideoOverlayViewController.swift @@ -106,6 +106,9 @@ class VideoOverlayViewController: UIViewController { if player.rate > 0 { player.rate = 0 } else { + if player.currentTime() >= player.currentItem!.duration { + player.seek(to: .zero) + } #if os(visionOS) player.play() #else