Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: Update default zoom fragment duration to 3 seconds and fix GitHub URL in ExportSuccessModal

CristianOlivera12e6f5a916ddb
diff --git a/app/components/ui/Exportsuccessmodal.tsx b/app/components/ui/Exportsuccessmodal.tsx
index 1a5bdb8..6b27920 100644
--- a/app/components/ui/Exportsuccessmodal.tsx
+++ b/app/components/ui/Exportsuccessmodal.tsx
@@ -83,7 +83,7 @@ export function ExportSuccessModal({
mediaType = "video",
fileName,
donateUrl = "/donate",
- githubUrl = "https://cristianolivera1.github.io",
+ githubUrl = "https://github.com/CristianOlivera1/openvid",
}: ExportSuccessModalProps) {
const t = useTranslations("exportSuccess");
const isClient = useIsClient();
diff --git a/types/timeline.types.ts b/types/timeline.types.ts
index 72bd930..6bc5e2b 100644
--- a/types/timeline.types.ts
+++ b/types/timeline.types.ts
@@ -62,7 +62,7 @@ export interface TimelineProps {
onAddZoomMovementAtRange?: (startTime: number, endTime: number) => void;
}
-export const DEFAULT_ZOOM_FRAGMENT_DURATION = 2;
+export const DEFAULT_ZOOM_FRAGMENT_DURATION = 3;
export const ELEMENT_ROW_HEIGHT = 55;
export const DEFAULT_MOVEMENT_DURATION = 1;
export const VIDEO_ROW_MIN_HEIGHT = 64;
diff --git a/types/zoom.types.ts b/types/zoom.types.ts
index 365a7ee..66d5b93 100644
--- a/types/zoom.types.ts
+++ b/types/zoom.types.ts
@@ -236,7 +236,7 @@ export function generateDefaultZoomFragments(
): ZoomFragment[] {
if (videoDuration <= 0) return [];
- const fragmentDuration = 2;
+ const fragmentDuration = 3;
const spacing = videoDuration / 3;
const fragments: ZoomFragment[] = [];