forked from shadowfacts/Tusker
parent
47b9ac890a
commit
870d0c8404
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue