diff --git a/packages/ui/src/components/organisms/VideoPlayer.tsx b/packages/ui/src/components/organisms/VideoPlayer.tsx index e583eca..debc5f4 100644 --- a/packages/ui/src/components/organisms/VideoPlayer.tsx +++ b/packages/ui/src/components/organisms/VideoPlayer.tsx @@ -41,6 +41,12 @@ export function VideoPlayer(props: { file: IVideoFile; }) { if (videoRef.value != null) { shaka.net.NetworkingEngine.registerScheme('ipfs', createShakaIpfsPlugin(ipfs), 1, false); const player = new shaka.Player(); + player.configure({ + streaming: { + rebufferingGoal: 5, + bufferingGoal: 30, + } + }); playerRef.value = player; player.attach(videoRef.value) .then(() => player.load(`ipfs://${props.file.cid}/${props.file.video.name}`))