diff --git a/submodules/InstantPageUI/Sources/InstantPageLayout.swift b/submodules/InstantPageUI/Sources/InstantPageLayout.swift index 65fe599451..4de40ca9b9 100644 --- a/submodules/InstantPageUI/Sources/InstantPageLayout.swift +++ b/submodules/InstantPageUI/Sources/InstantPageLayout.swift @@ -855,6 +855,9 @@ func instantPageLayoutForWebPage(_ webPage: TelegramMediaWebpage, boundingWidth: if let image = loadedContent.image, let id = image.id { media[id] = image } + if let video = loadedContent.file, let id = video.id { + media[id] = video + } var mediaIndexCounter: Int = 0 var embedIndexCounter: Int = 0