From ae6e5b7bc025da69184c184009bdb054ef1e53c5 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 16:37:47 +0000 Subject: [PATCH] Add video sharing functionality with social media options Integrate social media sharing buttons (Facebook, Twitter, WhatsApp) and a copy-to-clipboard option for video links within the video modal. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/Sy6XHzr --- client/src/components/bunny-video-modal.tsx | 116 ++++++++++---------- 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/client/src/components/bunny-video-modal.tsx b/client/src/components/bunny-video-modal.tsx index a5c00e6..74e4b3a 100644 --- a/client/src/components/bunny-video-modal.tsx +++ b/client/src/components/bunny-video-modal.tsx @@ -248,10 +248,65 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos {/* Video info always below video */}
-
-

- {video.title} -

+
+
+

+ {video.title} +

+ + {/* Share button next to title */} +
+ + + {showShareMenu && ( +
+ + + + +
+ )} +
+
{formatViews(video.views)} @@ -259,59 +314,6 @@ export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos {formatDate(video.createdAt)}
- {/* Share button below video info */} -
- - - {showShareMenu && ( -
- - - - -
- )} -
- {video.description && (