diff --git a/site/components/common/Room/ResourceCardContent/VideoCardContent.tsx b/site/components/common/Room/ResourceCardContent/VideoCardContent.tsx
index d6f0772b5..05e30dd76 100644
--- a/site/components/common/Room/ResourceCardContent/VideoCardContent.tsx
+++ b/site/components/common/Room/ResourceCardContent/VideoCardContent.tsx
@@ -1,35 +1,29 @@
-import { Box, Stack, Image, Text } from "@chakra-ui/react";
+import { Box, Stack, Image, Text } from '@chakra-ui/react'
export default function VideoCardContent(props: {
- style: any
- resourcePath: string
- resourceCaption: string
- }) {
+ style: any
+ resourcePath: string
+ resourceCaption: string
+}) {
+ return (
+ <>
+
+
+
- return (
- <>
-
-
-
-
-
-
-
-
-
-
- {props.resourceCaption}
-
-
-
- >
- )
-};
\ No newline at end of file
+
+
+
+ {props.resourceCaption}
+
+
+
+ >
+ )
+}
diff --git a/site/pages/[region]/[decade]/[start].tsx b/site/pages/[region]/[decade]/[start].tsx
index b7deb95e4..32e0f6e44 100644
--- a/site/pages/[region]/[decade]/[start].tsx
+++ b/site/pages/[region]/[decade]/[start].tsx
@@ -239,9 +239,10 @@ export default function RoomPage({
startNodeId: startNode,
markerStyle: {
style: {
- color: decadesManifest[decade as keyof typeof decadesManifest].color
- }
- }
+ color:
+ decadesManifest[decade as keyof typeof decadesManifest].color,
+ },
+ },
},
],
],
@@ -319,7 +320,7 @@ export default function RoomPage({
setTimeout(() => {
audioPlayer?.pause()
setIsAudioInBackground(false)
- }, audioPlayer!.duration - audioPlayer!.currentTime)
+ }, (audioPlayer!.duration - audioPlayer!.currentTime) * 1000)
}
}, [isAudioInBackground])