diff --git a/Account/Sources/Account/FeedProvider/Reddit/RedditLink.swift b/Account/Sources/Account/FeedProvider/Reddit/RedditLink.swift index 3ec8aa295..1e859f81f 100644 --- a/Account/Sources/Account/FeedProvider/Reddit/RedditLink.swift +++ b/Account/Sources/Account/FeedProvider/Reddit/RedditLink.swift @@ -109,12 +109,25 @@ final class RedditLinkData: Codable { if let width = media?.video?.width, let height = media?.video?.height { html += "width=\"\(width)\" height=\"\(height)\" " } - html += "src=\"\(videoURL)\" autoplay muted loop>" + html += "src=\"\(videoURL)\">" + return html + } + + if let imageVariantURL = preview?.images?.first?.variants?.mp4?.source?.url { + var html = "" + html += linkURL(url) return html } if let videoPreviewURL = preview?.videoPreview?.url { - var html = "