diff --git a/registry/lib/components/video/player/disable-scroll-volume/index.ts b/registry/lib/components/video/player/disable-scroll-volume/index.ts index 1ee413487..d929b589c 100644 --- a/registry/lib/components/video/player/disable-scroll-volume/index.ts +++ b/registry/lib/components/video/player/disable-scroll-volume/index.ts @@ -1,5 +1,6 @@ import { defineComponentMetadata } from '@/components/define' import { preventEvent } from '@/core/utils' +import { allVideoUrls } from '@/core/utils/urls' let cancel: () => void export const disableScrollVolume = () => { @@ -27,4 +28,5 @@ export const component = defineComponentMetadata({ unload: () => { cancel?.() }, + urlInclude: allVideoUrls, }) diff --git a/registry/lib/components/video/player/invert-scroll-volume/index.ts b/registry/lib/components/video/player/invert-scroll-volume/index.ts index 56d9afd23..3f10f0a10 100644 --- a/registry/lib/components/video/player/invert-scroll-volume/index.ts +++ b/registry/lib/components/video/player/invert-scroll-volume/index.ts @@ -6,6 +6,7 @@ import { import { disableScrollVolume } from '../disable-scroll-volume' import { playerAgent } from '@/components/video/player-agent' import { getComponentSettings } from '@/core/settings' +import { allVideoUrls } from '@/core/utils/urls' let cancel: () => void @@ -55,4 +56,5 @@ export const component = defineComponentMetadata({ cancel = invertScrollVolume() }, unload: () => cancel?.(), + urlInclude: allVideoUrls, })