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 {
|
if !visible {
|
||||||
hideControlsWorkItem?.cancel()
|
hideControlsWorkItem?.cancel()
|
||||||
} else if dueToUserInteraction {
|
} else if dueToUserInteraction,
|
||||||
|
player.rate > 0 {
|
||||||
scheduleControlsHide()
|
scheduleControlsHide()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue