From 8453226f29098a12c4066ac05c9881d92409220e Mon Sep 17 00:00:00 2001 From: raizasafeel <89463672+raizasafeel@users.noreply.github.com> Date: Tue, 17 Feb 2026 11:36:31 +0530 Subject: [PATCH] fix: add vimeo emded URL to extract hash properly --- frontend/src/utils/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index 225eafb7..f560d061 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -170,7 +170,8 @@ export function getEditorTools() { }, vimeo: { regex: /^(?:http[s]?:\/\/)?(?:www\.)?vimeo\.com\/(\d+)(?:\/([a-zA-Z0-9]+))?(?:\?[^\s]*)?$/, - embedUrl: '<%= remote_id %>', + embedUrl: + 'https://player.vimeo.com/video/<%= remote_id %>', html: `
`, id: ([id, hash]) => (hash ? `${id}?h=${hash}` : id), },