Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

chore(frontend:files): replace ngx-videogular with plyr

johaven0d20dface965
diff --git a/frontend/package.json b/frontend/package.json
index e6bd45a4..931ab400 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -47,7 +47,6 @@
"@tiptap/extension-task-list": "^3.25.0",
"@tiptap/markdown": "^3.25.0",
"@tiptap/starter-kit": "^3.25.0",
- "@videogular/ngx-videogular": "^20.0.0",
"angular-l10n": "^17.0.1",
"codemirror": "^6.0.2",
"dayjs": "^1.11.21",
@@ -56,6 +55,7 @@
"ngx-socket-io": "4.10.0",
"ngx-tiptap": "^14.0.1",
"ngx-toastr": "^19.1.0",
+ "plyr": "^3.8.4",
"rxjs": "^7.8.2",
"tslib": "^2.7.0",
"zone.js": "^0.15.1"
diff --git a/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts b/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
index d9e56341..ea8358d6 100755
--- a/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
+++ b/frontend/src/app/applications/files/components/viewers/files-viewer-media.component.ts
@@ -1,23 +1,139 @@
-import { ChangeDetectionStrategy, Component, input } from '@angular/core'
-import { VgBufferingModule } from '@videogular/ngx-videogular/buffering'
-import { VgControlsModule } from '@videogular/ngx-videogular/controls'
-import { VgCoreModule } from '@videogular/ngx-videogular/core'
-import { VgOverlayPlayModule } from '@videogular/ngx-videogular/overlay-play'
+import {
+ AfterViewInit,
+ ChangeDetectionStrategy,
+ Component,
+ computed,
+ ElementRef,
+ input,
+ OnDestroy,
+ viewChild,
+ ViewEncapsulation
+} from '@angular/core'
+import * as PlyrModule from 'plyr'
import { FileModel } from '../../models/file.model'
+interface PlyrInstance {
+ destroy(): void
+}
+interface PlyrOptions {
+ autoplay?: boolean
+ blankVideo?: string
+ controls?: string[]
+ iconUrl?: string
+ keyboard?: {
+ focused?: boolean
+ global?: boolean
+ }
+ settings?: string[]
+ speed?: {
+ selected: number
+ options: number[]
+ }
+}
+type PlyrConstructor = new (target: HTMLElement | string, options?: PlyrOptions) => PlyrInstance
+const plyrModule = PlyrModule as unknown as PlyrConstructor & { default?: PlyrConstructor }
+const PlyrPlayer = plyrModule.default ?? plyrModule
+
@Component({
selector: 'app-files-viewer-media',
changeDetection: ChangeDetectionStrategy.OnPush,
- imports: [VgCoreModule, VgControlsModule, VgOverlayPlayModule, VgBufferingModule],
+ encapsulation: ViewEncapsulation.None,
+ styles: [
+ `
+ app-files-viewer-media {
+ display: block;
+ width: 100%;
+ }
+
+ .files-viewer-media {
+ width: 100%;
+ background: #000;
+ }
+
+ .files-viewer-media--audio {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: transparent;
+ }
+
+ .files-viewer-media,
+ .files-viewer-media .plyr,
+ .files-viewer-media .plyr__video-wrapper,
+ .files-viewer-media .files-viewer-media__player {
+ height: 100%;
+ }
+
+ .files-viewer-media .plyr {
+ width: 100%;
+ --plyr-color-main: var(--bs-primary);
+ }
+
+ .files-viewer-media--audio .plyr {
+ height: auto;
+ max-width: 720px;
+ border-radius: 6px;
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
+ --plyr-audio-controls-background: rgba(17, 24, 28, 0.94);
+ --plyr-audio-control-color: rgba(255, 255, 255, 0.88);
+ --plyr-audio-control-color-hover: #fff;
+ --plyr-audio-control-background-hover: var(--bs-primary);
+ --plyr-audio-range-track-background: rgba(255, 255, 255, 0.24);
+ --plyr-audio-progress-buffered-background: rgba(255, 255, 255, 0.24);
+ --plyr-range-thumb-background: #fff;
+ --plyr-menu-background: #1f2a30;
+ --plyr-menu-color: rgba(255, 255, 255, 0.9);
+ --plyr-menu-arrow-color: rgba(255, 255, 255, 0.72);
+ }
+
+ .files-viewer-media--audio .plyr--audio .plyr__controls {
+ border-radius: inherit;
+ }
+
+ .files-viewer-media .files-viewer-media__player {
+ width: 100%;
+ object-fit: contain;
+ }
+ `
+ ],
template: `
- <vg-player [style.height.px]="currentHeight()">
- <video [vgMedia]="$any(media)" #media preload="none" autoplay controls>
- <source [src]="file().dataUrl" type="video/webm" />
- </video>
- </vg-player>
+ <div class="files-viewer-media" [class.files-viewer-media--audio]="isAudio()" [style.height.px]="currentHeight()">
+ @if (isAudio()) {
+ <audio #media class="files-viewer-media__player" preload="auto" autoplay controls>
+ <source [src]="file().dataUrl" />
+ </audio>
+ } @else {
+ <video #media class="files-viewer-media__player" preload="auto" autoplay playsinline controls>
+ <source [src]="file().dataUrl" />
+ </video>
+ }
+ </div>
`
})
-export class FilesViewerMediaComponent {
+export class FilesViewerMediaComponent implements AfterViewInit, OnDestroy {
file = input.required<FileModel>()
currentHeight = input<number>()
+ protected readonly isAudio = computed(() => {
+ const mime = this.file().mime?.trim().toLowerCase()
+ if (!mime) return false
+ return (mime.includes('/') ? mime : mime.replace('-', '/')).startsWith('audio/')
+ })
+ private readonly media = viewChild.required<ElementRef<HTMLMediaElement>>('media')
+ private player?: PlyrInstance
+
+ ngAfterViewInit() {
+ this.player = new PlyrPlayer(this.media().nativeElement, {
+ autoplay: true,
+ blankVideo: 'assets/plyr/blank.mp4',
+ controls: ['play-large', 'play', 'progress', 'current-time', 'duration', 'mute', 'volume', 'settings', 'pip', 'airplay', 'fullscreen'],
+ iconUrl: 'assets/plyr/plyr.svg',
+ keyboard: { focused: true, global: true },
+ settings: ['speed', 'loop'],
+ speed: { selected: 1, options: [0.5, 0.75, 1, 1.25, 1.5, 2] }
+ })
+ }
+
+ ngOnDestroy() {
+ this.player?.destroy()
+ }
}
diff --git a/frontend/src/assets/plyr/blank.mp4 b/frontend/src/assets/plyr/blank.mp4
new file mode 100644
index 00000000..d8982b63
Binary files /dev/null and b/frontend/src/assets/plyr/blank.mp4 differ
diff --git a/frontend/src/assets/plyr/plyr.svg b/frontend/src/assets/plyr/plyr.svg
new file mode 100644
index 00000000..1f283602
--- /dev/null
+++ b/frontend/src/assets/plyr/plyr.svg
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg"><symbol id="plyr-airplay" viewBox="0 0 18 18"><path d="M16 1H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3v-2H3V3h12v8h-2v2h3a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1"/><path d="M4 17h10l-5-6z"/></symbol><symbol id="plyr-captions-off" viewBox="0 0 18 18"><path fill-opacity=".5" fill-rule="evenodd" d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3s.5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7s1.65 3.69 3.63 3.69m7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7s1.65 3.69 3.63 3.69"/></symbol><symbol id="plyr-captions-on" viewBox="0 0 18 18"><path fill-rule="evenodd" d="M1 1c-.6 0-1 .4-1 1v11c0 .6.4 1 1 1h4.6l2.7 2.7c.2.2.4.3.7.3s.5-.1.7-.3l2.7-2.7H17c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1zm4.52 10.15c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41C8.47 4.96 7.46 3.76 5.5 3.76c-1.9 0-3.61 1.44-3.61 3.7s1.65 3.69 3.63 3.69m7.57 0c1.99 0 3.01-1.32 3.28-2.41l-1.29-.39c-.19.66-.78 1.45-1.99 1.45-1.14 0-2.2-.83-2.2-2.34 0-1.61 1.12-2.37 2.18-2.37 1.23 0 1.78.75 1.95 1.43l1.3-.41c-.28-1.15-1.29-2.35-3.25-2.35-1.9 0-3.61 1.44-3.61 3.7s1.65 3.69 3.63 3.69"/></symbol><symbol id="plyr-download" viewBox="0 0 18 18"><path d="M9 13c.3 0 .5-.1.7-.3L15.4 7 14 5.6l-4 4V1H8v8.6l-4-4L2.6 7l5.7 5.7c.2.2.4.3.7.3m-7 2h14v2H2z"/></symbol><symbol id="plyr-enter-fullscreen" viewBox="0 0 18 18"><path d="M10 3h3.6l-4 4L11 8.4l4-4V8h2V1h-7zM7 9.6l-4 4V10H1v7h7v-2H4.4l4-4z"/></symbol><symbol id="plyr-exit-fullscreen" viewBox="0 0 18 18"><path d="M1 12h3.6l-4 4L2 17.4l4-4V17h2v-7H1zM16 .6l-4 4V1h-2v7h7V6h-3.6l4-4z"/></symbol><symbol id="plyr-fast-forward" viewBox="0 0 18 18"><path d="M7.875 7.171 0 1v16l7.875-6.171V17L18 9 7.875 1z"/></symbol><symbol id="plyr-logo-vimeo" viewBox="0 0 18 18"><path d="M17 5.3c-.1 1.6-1.2 3.7-3.3 6.4-2.2 2.8-4 4.2-5.5 4.2-.9 0-1.7-.9-2.4-2.6C5 10.9 4.4 6 3 6c-.1 0-.5.3-1.2.8l-.8-1c.8-.7 3.5-3.4 4.7-3.5S7.7 3 8 4.8c.3 2 .8 6.1 1.8 6.1.9 0 2.5-3.4 2.6-4 .1-.9-.3-1.9-2.3-1.1.8-2.6 2.3-3.8 4.5-3.8q2.55.15 2.4 3.3"/></symbol><symbol id="plyr-logo-youtube" viewBox="0 0 18 18"><path d="M16.8 5.8c-.2-1.3-.8-2.2-2.2-2.4C12.4 3 9 3 9 3s-3.4 0-5.6.4C2 3.6 1.3 4.5 1.2 5.8 1 7.1 1 9 1 9s0 1.9.2 3.2.8 2.2 2.2 2.4C5.6 15 9 15 9 15s3.4 0 5.6-.4c1.4-.3 2-1.1 2.2-2.4S17 9 17 9s0-1.9-.2-3.2M7 12V6l5 3z"/></symbol><symbol id="plyr-muted" viewBox="0 0 18 18"><path d="m12.4 12.5 2.1-2.1 2.1 2.1 1.4-1.4L15.9 9 18 6.9l-1.4-1.4-2.1 2.1-2.1-2.1L11 6.9 13.1 9 11 11.1zM3.786 6.008H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601z"/></symbol><symbol id="plyr-pause" viewBox="0 0 18 18"><path d="M6 1H3c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1m6 0c-.6 0-1 .4-1 1v14c0 .6.4 1 1 1h3c.6 0 1-.4 1-1V2c0-.6-.4-1-1-1z"/></symbol><symbol id="plyr-pip" viewBox="0 0 18 18"><path d="M13.293 3.293 7.022 9.564l1.414 1.414 6.271-6.271L17 7V1h-6z"/><path d="M13 15H3V5h5V3H2a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6h-2z"/></symbol><symbol id="plyr-play" viewBox="0 0 18 18"><path d="M15.562 8.1 3.87.225c-.818-.562-1.87 0-1.87.9v15.75c0 .9 1.052 1.462 1.87.9L15.563 9.9c.584-.45.584-1.35 0-1.8"/></symbol><symbol id="plyr-restart" viewBox="0 0 18 18"><path d="m9.7 1.2.7 6.4 2.1-2.1c1.9 1.9 1.9 5.1 0 7-.9 1-2.2 1.5-3.5 1.5s-2.6-.5-3.5-1.5c-1.9-1.9-1.9-5.1 0-7 .6-.6 1.4-1.1 2.3-1.3l-.6-1.9C6 2.6 4.9 3.2 4 4.1 1.3 6.8 1.3 11.2 4 14c1.3 1.3 3.1 2 4.9 2 1.9 0 3.6-.7 4.9-2 2.7-2.7 2.7-7.1 0-9.9L16 1.9z"/></symbol><symbol id="plyr-rewind" viewBox="0 0 18 18"><path d="M10.125 1 0 9l10.125 8v-6.171L18 17V1l-7.875 6.171z"/></symbol><symbol id="plyr-settings" viewBox="0 0 18 18"><path d="M16.135 7.784a2 2 0 0 1-1.23-2.969c.322-.536.225-.998-.094-1.316l-.31-.31c-.318-.318-.78-.415-1.316-.094a2 2 0 0 1-2.969-1.23C10.065 1.258 9.669 1 9.219 1h-.438c-.45 0-.845.258-.997.865a2 2 0 0 1-2.969 1.23c-.536-.322-.999-.225-1.317.093l-.31.31c-.318.318-.415.781-.093 1.317a2 2 0 0 1-1.23 2.969C1.26 7.935 1 8.33 1 8.781v.438c0 .45.258.845.865.997a2 2 0 0 1 1.23 2.969c-.322.536-.225.998.094 1.316l.31.31c.319.319.782.415 1.316.094a2 2 0 0 1 2.969 1.23c.151.607.547.865.997.865h.438c.45 0 .845-.258.997-.865a2 2 0 0 1 2.969-1.23c.535.321.997.225 1.316-.094l.31-.31c.318-.318.415-.781.094-1.316a2 2 0 0 1 1.23-2.969c.607-.151.865-.547.865-.997v-.438c0-.451-.26-.846-.865-.997M9 12a3 3 0 1 1 0-6 3 3 0 0 1 0 6"/></symbol><symbol id="plyr-volume" viewBox="0 0 18 18"><path d="M15.6 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4C15.4 5.9 16 7.4 16 9s-.6 3.1-1.8 4.3c-.4.4-.4 1 0 1.4.2.2.5.3.7.3.3 0 .5-.1.7-.3C17.1 13.2 18 11.2 18 9s-.9-4.2-2.4-5.7"/><path d="M11.282 5.282a.91.91 0 0 0 0 1.316c.735.735.995 1.458.995 2.402 0 .936-.425 1.917-.995 2.487a.91.91 0 0 0 0 1.316c.145.145.636.262 1.018.156a.7.7 0 0 0 .298-.156C13.773 11.733 14.13 10.16 14.13 9q.001-.255-.011-.51c-.053-.992-.319-2.005-1.522-3.208a.91.91 0 0 0-1.316 0m-7.495.726H.714C.286 6.008 0 6.31 0 6.76v4.512c0 .452.286.752.714.752h3.072l4.071 3.858c.5.3 1.143 0 1.143-.602V2.752c0-.601-.643-.977-1.143-.601z"/></symbol></svg>
\ No newline at end of file
diff --git a/frontend/src/styles/index.scss b/frontend/src/styles/index.scss
index 4d2d7000..7c1574e2 100644
--- a/frontend/src/styles/index.scss
+++ b/frontend/src/styles/index.scss
@@ -13,5 +13,5 @@
// used for ngx-contextmenu
@import '@angular/cdk/overlay-prebuilt.css';
@import '@perfectmemory/ngx-contextmenu/src/assets/stylesheets/base.scss';
-// used for videogular
-@import '@videogular/ngx-videogular/fonts/videogular.css';
\ No newline at end of file
+// used for plyr
+@import 'plyr/dist/plyr.css';
diff --git a/package-lock.json b/package-lock.json
index b74da23e..cb6b3761 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -173,7 +173,6 @@
"@tiptap/extension-task-list": "^3.25.0",
"@tiptap/markdown": "^3.25.0",
"@tiptap/starter-kit": "^3.25.0",
- "@videogular/ngx-videogular": "^20.0.0",
"angular-l10n": "^17.0.1",
"codemirror": "^6.0.2",
"dayjs": "^1.11.21",
@@ -182,6 +181,7 @@
"ngx-socket-io": "4.10.0",
"ngx-tiptap": "^14.0.1",
"ngx-toastr": "^19.1.0",
+ "plyr": "^3.8.4",
"rxjs": "^7.8.2",
"tslib": "^2.7.0",
"zone.js": "^0.15.1"
@@ -662,22 +662,6 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/@angular-devkit/schematics-cli/node_modules/chokidar": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
- "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
- "extraneous": true,
- "license": "MIT",
- "dependencies": {
- "readdirp": "^4.0.1"
- },
- "engines": {
- "node": ">= 14.16.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
"node_modules/@angular-devkit/schematics-cli/node_modules/cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -824,20 +808,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@angular-devkit/schematics-cli/node_modules/readdirp": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
- "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
- "extraneous": true,
- "license": "MIT",
- "engines": {
- "node": ">= 14.18.0"
- },
- "funding": {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- },
"node_modules/@angular-devkit/schematics-cli/node_modules/restore-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
@@ -5631,14 +5601,268 @@
]
},
"node_modules/@napi-rs/canvas": {
- "name": "noop3",
- "version": "1000.0.0",
- "resolved": "https://registry.npmjs.org/noop3/-/noop3-1000.0.0.tgz",
- "integrity": "sha512-OkcS5jjmDBhdLt5rwoHtItQfUHP3+NpWA9voB0SHth+KLIoupZEe+3D76bNvS37qG8vg2FFSqQ61blrEtZj1Yw==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-1.0.0.tgz",
+ "integrity": "sha512-Jqxcy1XOIqj+lH9sl1GT+il6GR3uQv13vI2mrwubP3uT8Olak2ClDrK2RnxlQKjwv8BRr4b3ug0YR7c6hBX8wg==",
"license": "MIT",
"optional": true,
+ "workspaces": [
+ "e2e/*"
+ ],
"engines": {
- "node": ">=6"
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ },
+ "optionalDependencies": {
+ "@napi-rs/canvas-android-arm64": "1.0.0",
+ "@napi-rs/canvas-darwin-arm64": "1.0.0",
+ "@napi-rs/canvas-darwin-x64": "1.0.0",
+ "@napi-rs/canvas-linux-arm-gnueabihf": "1.0.0",
+ "@napi-rs/canvas-linux-arm64-gnu": "1.0.0",
+ "@napi-rs/canvas-linux-arm64-musl": "1.0.0",
+ "@napi-rs/canvas-linux-riscv64-gnu": "1.0.0",
+ "@napi-rs/canvas-linux-x64-gnu": "1.0.0",
+ "@napi-rs/canvas-linux-x64-musl": "1.0.0",
+ "@napi-rs/canvas-win32-arm64-msvc": "1.0.0",
+ "@napi-rs/canvas-win32-x64-msvc": "1.0.0"
+ }
+ },
+ "node_modules/@napi-rs/canvas-android-arm64": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-1.0.0.tgz",
+ "integrity": "sha512-3hNKJObUK7JsCF9aJlVCs1J0/KE/gGfZNeK8MO1ge6bB3aicr5walGme9t9No1f/oyk9GgvdAT/rjSdsx3gbIw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-darwin-arm64": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-1.0.0.tgz",
+ "integrity": "sha512-ZIja19/BiGz2puhki+WUYSRriwFeFJ8Mi9eK3hZdSS85w4Y60cuEAJVhMCfKwswQkKkUtrnzdKMBuO7TupvexA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-darwin-x64": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-1.0.0.tgz",
+ "integrity": "sha512-hImggWc82jqZVpEsFR9S7PE9OQYjq/H/D7vwCGB6X1jRH+UVBP1+1niJTPBOat1B154T6GKK7/kcFtoWgjgFzQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-arm-gnueabihf": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-1.0.0.tgz",
+ "integrity": "sha512-hlJRy6d+kWLKVOG/+1rEvNQVURZ0DxxRPJsLmEWwhwiXZUJc0BF5o9esALHSEP4CoJK4wChRtj3hnyBgVx2oWA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-arm64-gnu": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-1.0.0.tgz",
+ "integrity": "sha512-5Hru4T3RXkosRQafcjelv7AUzw9mXqmGYsxnzeDDOWveFCJyEPMSJltvGCM+jfH98seOCbfwm9KyFg6Jm5FhAA==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-arm64-musl": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-1.0.0.tgz",
+ "integrity": "sha512-LTUl9jS8WsLSUGaxQZKQkxfluOJRpgvBuxxdM4pYcjib+di8AU4OzQc6+L6SzGMLcKc9H0RAjojRatBhTMqYdg==",
+ "cpu": [
+ "arm64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-riscv64-gnu": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-1.0.0.tgz",
+ "integrity": "sha512-Iz931SAZf+WVDzpjk52Q3ffW3zw0YflFwEZMgs036Wfu1kX/LrwT9wGjsuSqyduqefUkl91/vTdAjn8hQu5ezA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-x64-gnu": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-1.0.0.tgz",
+ "integrity": "sha512-pFEQ5eFK4JusgN1K6KkO9DKP/Hi1WMJOkF8Ch03/khTc4bFbCKkCCsJG4YcOMOW9bI4XbT2/eMAWxhO0xaWgPA==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-linux-x64-musl": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-1.0.0.tgz",
+ "integrity": "sha512-jnvr8NrLHiZ3NCiOKWqDbkI4Ah+QDrqtZ+sddPZBltEb1mQ2coSvCSJYfict+oAwcm0c970oTmVySpjKP/lnaA==",
+ "cpu": [
+ "x64"
+ ],
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-win32-arm64-msvc": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-arm64-msvc/-/canvas-win32-arm64-msvc-1.0.0.tgz",
+ "integrity": "sha512-y2j9/Gfd5joqiqxdP/L1smqjQ+uAx3C4N0EC7bDHrnZEEH8ToM/OC5p3uHvtj4Lq591aHj+ArL01UDLNwT5HgQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@napi-rs/canvas-win32-x64-msvc": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-1.0.0.tgz",
+ "integrity": "sha512-qwdhh9N6Gge/hC4pL9S1tQp0iKwhSl/dYjg7+RGp9k26iRGRi5MqqUyKGOXIWli0zOcuy5Y2wIH/jk2ry6i/jA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
}
},
"node_modules/@napi-rs/nice": {
@@ -6785,22 +7009,6 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/@nestjs/schematics/node_modules/chokidar": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
- "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
- "extraneous": true,
- "license": "MIT",
- "dependencies": {
- "readdirp": "^4.0.1"
- },
- "engines": {
- "node": ">= 14.16.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
"node_modules/@nestjs/schematics/node_modules/cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -6947,20 +7155,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@nestjs/schematics/node_modules/readdirp": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
- "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
- "extraneous": true,
- "license": "MIT",
- "engines": {
- "node": ">= 14.18.0"
- },
- "funding": {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- },
"node_modules/@nestjs/schematics/node_modules/restore-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
@@ -10518,21 +10712,6 @@
"url": "https://opencollective.com/eslint"
}
},
- "node_modules/@videogular/ngx-videogular": {
- "version": "20.0.0",
- "resolved": "https://registry.npmjs.org/@videogular/ngx-videogular/-/ngx-videogular-20.0.0.tgz",
- "integrity": "sha512-UW67ewZUFDlblKJbBswSQvyoUfYVVkD/iDzzNTAyFWZN44ak266YkqJar37BXuieUPODnvGCBo2ce75+/e4GEQ==",
- "license": "MIT",
- "dependencies": {
- "tslib": "^1.11.1 || ^2.0.0"
- },
- "peerDependencies": {
- "@angular/common": "^20.0.0",
- "@angular/core": "^20.0.0",
- "rxjs": "^6.5.4 || ^7.4.0",
- "zone.js": "^0.15.1"
- }
- },
"node_modules/@vitejs/plugin-basic-ssl": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-2.1.4.tgz",
@@ -13473,6 +13652,12 @@
"url": "https://github.com/sponsors/fb55"
}
},
+ "node_modules/custom-event-polyfill": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/custom-event-polyfill/-/custom-event-polyfill-1.0.7.tgz",
+ "integrity": "sha512-TDDkd5DkaZxZFM8p+1I3yAlvM3rSr1wbrOliG4yJiwinMZN8z/iGL7BTlDkrJcYTmgUSb4ywVCc3ZaUtOtC76w==",
+ "license": "MIT"
+ },
"node_modules/dargs": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz",
@@ -18328,6 +18513,12 @@
"url": "https://opencollective.com/webpack"
}
},
+ "node_modules/loadjs": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/loadjs/-/loadjs-4.3.0.tgz",
+ "integrity": "sha512-vNX4ZZLJBeDEOBvdr2v/F+0aN5oMuPu7JTqrMwp+DtgK+AryOlpy6Xtm2/HpNr+azEa828oQjOtWsB6iDtSfSQ==",
+ "license": "MIT"
+ },
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@@ -21165,6 +21356,19 @@
"node": ">=4"
}
},
+ "node_modules/plyr": {
+ "version": "3.8.4",
+ "resolved": "https://registry.npmjs.org/plyr/-/plyr-3.8.4.tgz",
+ "integrity": "sha512-DrzLbK9Wol3zeiuZCleD9aUOl0KAaBHR9H6WVVVYPZ4Ya+LYxUFTgSF1jooHcMQCv96Ws96wCaZzIoP3bES8pQ==",
+ "license": "MIT",
+ "dependencies": {
+ "core-js": "^3.45.1",
+ "custom-event-polyfill": "^1.0.7",
+ "loadjs": "^4.3.0",
+ "rangetouch": "^2.0.1",
+ "url-polyfill": "^1.1.13"
+ }
+ },
"node_modules/postcss": {
"version": "8.5.15",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",
@@ -21651,6 +21855,12 @@
"node": ">= 0.6"
}
},
+ "node_modules/rangetouch": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/rangetouch/-/rangetouch-2.0.1.tgz",
+ "integrity": "sha512-sln+pNSc8NGaHoLzwNBssFSf/rSYkqeBXzX1AtJlkJiUaVSJSbRAWJk+4omsXkN+EJalzkZhWQ3th1m0FpR5xA==",
+ "license": "MIT"
+ },
"node_modules/raw-body": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",
@@ -22467,9 +22677,9 @@
}
},
"node_modules/semver": {
- "version": "7.8.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.1.tgz",
- "integrity": "sha512-rkVq3IXh+4FDGch+KwzX3aV9W3kO54GyEgpvBzSyctDA6Xtd7RJQV1xmXbeQp5v7+VzLOfVqiutSE6GICgPFvg==",
+ "version": "7.8.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.2.tgz",
+ "integrity": "sha512-c8jsqUZm3omBOI66G90z1Dyw5z622G8oLG+omfsHBJf3CWQTlOcwOjvOG6wtiNfW6anKm/eA39LMwMtMez2TiQ==",
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -23148,9 +23358,9 @@
}
},
"node_modules/streamx": {
- "version": "2.26.0",
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.26.0.tgz",
- "integrity": "sha512-VvNG1K72Po/xwJzxZFnZ++Tbrv4lwSptsbkFuzXCJAYZvCK5nnxsvXU6ajqkv7chyiI1Y0YXq2Jh8Iy8Y7NF/A==",
+ "version": "2.27.0",
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.27.0.tgz",
+ "integrity": "sha512-WZ189TKnHoAokYHvwzaAQMpd55cgUmFIcJFzBSgGcb886jau5DL+XdDhTWV4ps3FLvk+OORp0dLRTPsLZ21CSA==",
"license": "MIT",
"dependencies": {
"events-universal": "^1.0.0",
@@ -25057,6 +25267,12 @@
"punycode": "^2.1.0"
}
},
+ "node_modules/url-polyfill": {
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/url-polyfill/-/url-polyfill-1.1.14.tgz",
+ "integrity": "sha512-p4f3TTAG6ADVF3mwbXw7hGw+QJyw5CnNGvYh5fCuQQZIiuKUswqcznyV3pGDP9j0TSmC4UvRKm8kl1QsX1diiQ==",
+ "license": "MIT"
+ },
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
diff --git a/package.json b/package.json
index b18c7eab..ba0535eb 100755
--- a/package.json
+++ b/package.json
@@ -96,10 +96,7 @@
"prettier": "^3.8.3"
},
"overrides": {
- "@napi-rs/canvas": "npm:noop3",
- "fastify": "5.8.5",
- "@angular/common": "^21.2.16",
- "@angular/core": "^21.2.16"
+ "@napi-rs/canvas": "npm:noop3"
},
"commit-and-tag-version": {
"header": "",