diff --git a/packages/experiments/src/app.d.ts b/packages/experiments/src/app.d.ts index 7da6f1b10..4a827089d 100644 --- a/packages/experiments/src/app.d.ts +++ b/packages/experiments/src/app.d.ts @@ -3,8 +3,7 @@ declare let Hls: typeof import('hls.js').default -// See https://kit.svelte.dev/docs/types#app -// for information about these interfaces +// Info: https://kit.svelte.dev/docs/types#app declare namespace App { // interface Locals {} // interface Platform {} @@ -13,20 +12,11 @@ declare namespace App { } declare namespace svelteHTML { - interface SvelteWindowProps { - 'on:beforeinstallprompt'?: ( - event: EventHandler | undefined | null, - ) => any - - 'on:appinstalled'?: ( - event: EventHandler | undefined | null, - ) => any - } - - interface HTMLProps { - 'disableremoteplayback'?: boolean - 'disablepictureinpicture'?: boolean - 'x-webkit-airplay'?: 'deny' | 'allow' + interface HTMLAttributes { + 'on:beforeinstallprompt'?: (event: BeforeInstallPromptEvent) => any + 'on:appinstalled'?: (event: Event) => any + 'disablePictureInPicture'?: boolean + 'disableRemotePlayback'?: boolean } } diff --git a/packages/experiments/src/components/video/VideoPlayer.svelte b/packages/experiments/src/components/video/VideoPlayer.svelte index d38b30cd8..a11571b96 100644 --- a/packages/experiments/src/components/video/VideoPlayer.svelte +++ b/packages/experiments/src/components/video/VideoPlayer.svelte @@ -228,8 +228,8 @@ onDestroy(() => { loop data-index={index} muted={$playerState.muted} - disablepictureinpicture - disableremoteplayback + disablePictureInPicture + disableRemotePlayback playsinline preload={ios ? 'metadata' : 'auto'} poster={thumbnail}