Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
e70dbb1
1
Parent(s):
1f1caeb
360° videos work
Browse files
src/app/interface/video-player/index.tsx
CHANGED
@@ -23,9 +23,6 @@ export function VideoPlayer({
|
|
23 |
// we should our video players from misssing data
|
24 |
if (!video?.assetUrl) { return null }
|
25 |
|
26 |
-
video.assetUrl = "/demo.mp4"
|
27 |
-
video.projection = "equirectangular"
|
28 |
-
|
29 |
const isEquirectangular = (
|
30 |
video.projection === "equirectangular" ||
|
31 |
parseProjectionFromLoRA(video.lora) === "equirectangular"
|
|
|
23 |
// we should our video players from misssing data
|
24 |
if (!video?.assetUrl) { return null }
|
25 |
|
|
|
|
|
|
|
26 |
const isEquirectangular = (
|
27 |
video.projection === "equirectangular" ||
|
28 |
parseProjectionFromLoRA(video.lora) === "equirectangular"
|
src/app/views/public-video-view/index.tsx
CHANGED
@@ -136,6 +136,15 @@ export function PublicVideoView() {
|
|
136 |
defaultSettings.huggingfaceApiKey
|
137 |
)
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
if (!video) { return null }
|
140 |
|
141 |
const handleSubmitComment = () => {
|
|
|
136 |
defaultSettings.huggingfaceApiKey
|
137 |
)
|
138 |
|
139 |
+
/*
|
140 |
+
useEffect(() => {
|
141 |
+
window.addEventListener("keydown", function (e) {
|
142 |
+
if (e.code === "Space") {
|
143 |
+
e.preventDefault();
|
144 |
+
}
|
145 |
+
})
|
146 |
+
}, [])
|
147 |
+
*/
|
148 |
if (!video) { return null }
|
149 |
|
150 |
const handleSubmitComment = () => {
|