diff --git a/lib/Listener/CSPListener.php b/lib/Listener/CSPListener.php index d430a68bb44..491a0d6fe92 100644 --- a/lib/Listener/CSPListener.php +++ b/lib/Listener/CSPListener.php @@ -50,8 +50,6 @@ public function handle(Event $event): void { $csp->addAllowedConnectDomain($server); } - $csp->addAllowedWorkerSrcDomain('\'self\''); - $event->addPolicy($csp); } } diff --git a/package-lock.json b/package-lock.json index 3e19dea0cb2..bc0dd7851f5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7530,6 +7530,11 @@ "simple-swizzle": "^0.2.2" } }, + "color.js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/color.js/-/color.js-1.2.0.tgz", + "integrity": "sha512-0ajlNgWWOR7EK9N6l2h0YKsZPzMCLQG5bheCoTGpGfhkR8tB5eQNItdua1oFHDTeq9JKgSzQJqo+Gp3V/xW+Lw==" + }, "colorette": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", diff --git a/package.json b/package.json index a5e42daadbf..b7cf79f7dd9 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "@nextcloud/vue": "^3.4.0", "@nextcloud/vue-dashboard": "^1.0.1", "attachmediastream": "^2.1.0", + "color.js": "^1.2.0", "crypto-js": "^4.0.0", "debounce": "^1.2.0", "emoji-regex": "^9.2.0", diff --git a/src/components/CallView/Grid/Grid.vue b/src/components/CallView/Grid/Grid.vue index c562625183a..c048850ed88 100644 --- a/src/components/CallView/Grid/Grid.vue +++ b/src/components/CallView/Grid/Grid.vue @@ -72,7 +72,6 @@ :is-selected="isSelected(callParticipantModel)" :fit-video="false" :video-container-aspect-ratio="videoContainerAspectRatio" - :video-background-blur="videoBackgroundBlur" :shared-data="sharedDatas[callParticipantModel.attributes.peerId]" @click-video="handleClickVideo($event, callParticipantModel.attributes.peerId)" /> @@ -439,11 +438,6 @@ export default { } }, - // Blur radius for each background in the grid - videoBackgroundBlur() { - return this.$store.getters.getBlurRadius(this.videoWidth, this.videoHeight) - }, - stripeOpen() { return this.$store.getters.isStripeOpen }, diff --git a/src/components/CallView/shared/Video.vue b/src/components/CallView/shared/Video.vue index 2d5c9f3fbd4..acaec600949 100644 --- a/src/components/CallView/shared/Video.vue +++ b/src/components/CallView/shared/Video.vue @@ -50,8 +50,7 @@