From c84ff140ca6ed99f3412894a33eb6753680cc0a0 Mon Sep 17 00:00:00 2001 From: Astra Date: Sun, 11 May 2025 00:56:39 +0900 Subject: [PATCH] GIF fix for safari --- src/lib/pdsfetch.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/pdsfetch.ts b/src/lib/pdsfetch.ts index e782f62..bc95acd 100644 --- a/src/lib/pdsfetch.ts +++ b/src/lib/pdsfetch.ts @@ -99,7 +99,9 @@ class Post { } break; case "app.bsky.embed.external": // assuming that external embeds are gifs for now - this.gifLink = post.embed.external.uri; + if (post.embed.external.uri.includes(".gif")) { + this.gifLink = post.embed.external.uri; + } break; } }