Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(web): pass recordingStopped into share video

Richie McIlroyd59262c85de5
diff --git a/apps/web/app/s/[videoId]/Share.tsx b/apps/web/app/s/[videoId]/Share.tsx
index 0bd15f76d..11bd42909 100644
--- a/apps/web/app/s/[videoId]/Share.tsx
+++ b/apps/web/app/s/[videoId]/Share.tsx
@@ -151,6 +151,7 @@ interface ShareProps {
userOrganizations?: { id: string; name: string }[];
viewerId?: string | null;
isEditProcessing: boolean;
+ recordingStopped?: boolean;
initialAiData?: {
title?: string | null;
summary?: string | null;
@@ -264,6 +265,7 @@ export const Share = ({
videoSettings,
viewerId,
isEditProcessing,
+ recordingStopped = false,
}: ShareProps) => {
const effectiveDate: Date = data.metadata?.customCreatedAt
? new Date(data.metadata.customCreatedAt)
@@ -484,6 +486,7 @@ export const Share = ({
canRetryProcessing={viewerId === data.owner.id}
showPlaybackStatusBadge={viewerId === data.owner.id}
isEditProcessing={isEditProcessing}
+ recordingStopped={recordingStopped}
ref={playerRef}
/>
</div>