forked from shadowfacts/Tusker
Only hide gallery controls automatically while playing
This commit is contained in:
parent
d873b157ee
commit
d1ffab3e42
|
@ -216,7 +216,8 @@ class VideoGalleryContentViewController: UIViewController, GalleryContentViewCon
|
|||
|
||||
if !visible {
|
||||
hideControlsWorkItem?.cancel()
|
||||
} else if dueToUserInteraction {
|
||||
} else if dueToUserInteraction,
|
||||
player.rate > 0 {
|
||||
scheduleControlsHide()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue