mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various Fixes
This commit is contained in:
@@ -290,7 +290,12 @@ final class SharedMediaPlayer {
|
||||
player.play()
|
||||
}
|
||||
case let .instantVideo(node):
|
||||
node.playOnceWithSound(playAndRecord: controlPlaybackWithProximity)
|
||||
if let scheduledStartTime = scheduledStartTime {
|
||||
node.seek(scheduledStartTime)
|
||||
node.playOnceWithSound(playAndRecord: controlPlaybackWithProximity)
|
||||
} else {
|
||||
node.playOnceWithSound(playAndRecord: controlPlaybackWithProximity)
|
||||
}
|
||||
}
|
||||
case .pause:
|
||||
playbackItem.pause()
|
||||
|
||||
Reference in New Issue
Block a user