Last active
May 3, 2021 00:59
-
-
Save mhijack/424bd578240e78d6ed2b767a8f118e63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if !self.playbackManager.isScrubbingInProgress { | |
/// Do not let scrubbing interfere with periodic observer | |
self.controlsView.setProgress(progress: Float(self.playbackManager.currentPlaybackProgress)) | |
self.controlsView.updateCurrentTime(label: PlayerPlaybackTimeFormatter.getCurrentTimeFormatted(player: self.playbackManager.player)) /// update current time with playback current time | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment