mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Video player improvements
This commit is contained in:
@@ -19,7 +19,7 @@ public func isMediaStreamable(message: Message, media: TelegramMediaFile) -> Boo
|
||||
}
|
||||
for attribute in media.attributes {
|
||||
if case let .Video(_, _, flags, _, _, _) = attribute {
|
||||
if flags.contains(.supportsStreaming) {
|
||||
if flags.contains(.supportsStreaming) || !media.alternativeRepresentations.isEmpty {
|
||||
return true
|
||||
}
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user