Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

show video in quote (#5093)

authored by

Samuel Newman and committed by
GitHub
bd42f770 dde72b48

+11 -2
+8 -2
src/view/com/util/post-embeds/QuoteEmbed.tsx
··· 11 11 AppBskyEmbedImages, 12 12 AppBskyEmbedRecord, 13 13 AppBskyEmbedRecordWithMedia, 14 + AppBskyEmbedVideo, 14 15 AppBskyFeedDefs, 15 16 AppBskyFeedPost, 16 17 ModerationDecision, ··· 180 181 if (allowNestedQuotes) { 181 182 return e 182 183 } else { 183 - if (AppBskyEmbedImages.isView(e) || AppBskyEmbedExternal.isView(e)) { 184 + if ( 185 + AppBskyEmbedImages.isView(e) || 186 + AppBskyEmbedExternal.isView(e) || 187 + AppBskyEmbedVideo.isView(e) 188 + ) { 184 189 return e 185 190 } else if ( 186 191 AppBskyEmbedRecordWithMedia.isView(e) && 187 192 (AppBskyEmbedImages.isView(e.media) || 188 - AppBskyEmbedExternal.isView(e.media)) 193 + AppBskyEmbedExternal.isView(e.media) || 194 + AppBskyEmbedVideo.isView(e.media)) 189 195 ) { 190 196 return e.media 191 197 }
+3
src/view/com/util/post-embeds/index.tsx
··· 86 86 return <MaybeListCard view={embed.record} /> 87 87 } 88 88 89 + // starter pack embed 89 90 if (AppBskyGraphDefs.isStarterPackViewBasic(embed.record)) { 90 91 return <StarterPackCard starterPack={embed.record} /> 91 92 } ··· 178 179 ) 179 180 } 180 181 182 + // video embed 183 + // = 181 184 if (AppBskyEmbedVideo.isView(embed)) { 182 185 return ( 183 186 <ContentHider modui={moderation?.ui('contentMedia')}>