From f0fd954cf98bffad2d42f0ac11d41f7a14fce333 Mon Sep 17 00:00:00 2001 From: Arthur de Moulins Date: Wed, 11 Oct 2023 13:59:34 +0200 Subject: [PATCH] WIP --- .../src/component/layouts/shared-components/AssetProxy.tsx | 1 + .../src/component/layouts/shared-components/VideoPlayer.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/expose/client/src/component/layouts/shared-components/AssetProxy.tsx b/expose/client/src/component/layouts/shared-components/AssetProxy.tsx index a1ce6cb81..5c8cd65f6 100644 --- a/expose/client/src/component/layouts/shared-components/AssetProxy.tsx +++ b/expose/client/src/component/layouts/shared-components/AssetProxy.tsx @@ -53,6 +53,7 @@ export default function AssetProxy({ webVTTLink={asset.webVTTLink} fluid={fluid} mimeType={type} + assetId={asset.assetId} /> break; case type.startsWith('image/'): diff --git a/expose/client/src/component/layouts/shared-components/VideoPlayer.tsx b/expose/client/src/component/layouts/shared-components/VideoPlayer.tsx index de5229fe5..110a67163 100644 --- a/expose/client/src/component/layouts/shared-components/VideoPlayer.tsx +++ b/expose/client/src/component/layouts/shared-components/VideoPlayer.tsx @@ -10,6 +10,7 @@ type Props = { webVTTLink?: string, fluid?: boolean, mimeType: string, + assetId: string | undefined, }; export default React.forwardRef(function VideoPlayer({ @@ -20,6 +21,7 @@ export default React.forwardRef(function VideoPlayer({ webVTTLink, fluid, mimeType, + assetId, }: Props, ref) { const player = React.useRef(); @@ -64,6 +66,7 @@ export default React.forwardRef(function VideoPlayer({