ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix getting frame from a web video stored in s3
Chocobozzzb586c4d4b6be
diff --git a/client/src/standalone/player/src/shared/web-video/web-video-plugin.ts b/client/src/standalone/player/src/shared/web-video/web-video-plugin.tsindex bba21fbf3d..d8fa5adc8a 100644--- a/client/src/standalone/player/src/shared/web-video/web-video-plugin.ts+++ b/client/src/standalone/player/src/shared/web-video/web-video-plugin.ts@@ -28,6 +28,9 @@ class WebVideoPlugin extends Plugin {this.videoFiles = options.videoFilesthis.videoFileToken = options.videoFileToken+ const videoEl = this.player.tech(true)?.el()+ if (videoEl) videoEl.setAttribute('crossorigin', 'anonymous')+const videoFile = this.pickInitialVideoFile()if (videoFile) this.updateVideoFile({ videoFile, isUserResolutionChange: false })