matches snapshot for animated-preview story 1`] = `
matches snapshot for default story 1`] = `
>
matches snapshot for default story 1`] = `
@@ -147,7 +147,7 @@ exports[`ImageBodyView > matches snapshot for loading-with-blurhash story 1`] =
>
matches snapshot for loading-with-blurhash story 1`] =
@@ -192,7 +192,7 @@ exports[`ImageBodyView > matches snapshot for loading-with-spinner story 1`] = `
>
matches snapshot for loading-with-spinner story 1`] = `
diff --git a/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/VideoBodyView.stories.tsx b/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/VideoBodyView.stories.tsx
index 115d93e5cae..81366f174e6 100644
--- a/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/VideoBodyView.stories.tsx
+++ b/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/VideoBodyView.stories.tsx
@@ -17,8 +17,7 @@ import {
} from "./VideoBodyView";
import { useMockedViewModel } from "../../../../../core/viewmodel/useMockedViewModel";
import { withViewDocs } from "../../../../../../.storybook/withViewDocs";
-
-const demoVideo = new URL("../../../../../../static/videoBodyDemo.webm", import.meta.url).href;
+import demoVideo from "../../../../../../static/videoBodyDemo.webm";
type VideoBodyViewProps = VideoBodyViewSnapshot &
VideoBodyViewActions & {
diff --git a/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/__snapshots__/VideoBodyView.test.tsx.snap b/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/__snapshots__/VideoBodyView.test.tsx.snap
index 57c2fa47d12..f8111582776 100644
--- a/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/__snapshots__/VideoBodyView.test.tsx.snap
+++ b/packages/shared-components/src/room/timeline/event-tile/body/MVideoBodyView/__snapshots__/VideoBodyView.test.tsx.snap
@@ -79,7 +79,7 @@ exports[`VideoBodyView > matches snapshot for ready story 1`] = `
crossorigin="anonymous"
poster="/static/element.png"
preload="none"
- src="http://localhost:63315/static/videoBodyDemo.webm"
+ src="/static/videoBodyDemo.webm"
/>
diff --git a/packages/shared-components/tsconfig.json b/packages/shared-components/tsconfig.json
index e959a552c5c..2691b1f20cc 100644
--- a/packages/shared-components/tsconfig.json
+++ b/packages/shared-components/tsconfig.json
@@ -14,7 +14,7 @@
"declaration": true,
"jsx": "react",
"lib": ["es2022", "es2024.promise", "dom", "dom.iterable"],
- "types": ["storybook-addon-vis/matcher"],
+ "types": ["vite/client", "storybook-addon-vis/matcher"],
"strict": true,
"paths": {
"@test-utils": ["./src/test/utils/index"]