about summary refs log tree commit diff
path: root/src/view/com/posts/PostFeed.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/posts/PostFeed.tsx')
-rw-r--r--src/view/com/posts/PostFeed.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/posts/PostFeed.tsx b/src/view/com/posts/PostFeed.tsx
index 4bd971b3f..67ecfa25a 100644
--- a/src/view/com/posts/PostFeed.tsx
+++ b/src/view/com/posts/PostFeed.tsx
@@ -347,7 +347,9 @@ let PostFeed = ({
           }[] = []
           for (const page of data.pages) {
             for (const slice of page.slices) {
-              const item = slice.items.at(0)
+              const item = slice.items.find(
+                item => item.uri === slice.feedPostUri,
+              )
               if (item && AppBskyEmbedVideo.isView(item.post.embed)) {
                 videos.push({item, feedContext: slice.feedContext})
               }