Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-mn-yral committed Dec 20, 2023
1 parent 90a5b29 commit 5ec621e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
22 changes: 6 additions & 16 deletions packages/experiments/src/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand All @@ -13,20 +12,11 @@ declare namespace App {
}

declare namespace svelteHTML {
interface SvelteWindowProps {
'on:beforeinstallprompt'?: (
event: EventHandler<BeforeInstallPromptEvent, Window> | undefined | null,
) => any

'on:appinstalled'?: (
event: EventHandler<Event, Window> | undefined | null,
) => any
}

interface HTMLProps<T> {
'disableremoteplayback'?: boolean
'disablepictureinpicture'?: boolean
'x-webkit-airplay'?: 'deny' | 'allow'
interface HTMLAttributes<T> {
'on:beforeinstallprompt'?: (event: BeforeInstallPromptEvent) => any
'on:appinstalled'?: (event: Event) => any
'disablePictureInPicture'?: boolean
'disableRemotePlayback'?: boolean
}
}

Expand Down
4 changes: 2 additions & 2 deletions packages/experiments/src/components/video/VideoPlayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ onDestroy(() => {
loop
data-index={index}
muted={$playerState.muted}
disablepictureinpicture
disableremoteplayback
disablePictureInPicture
disableRemotePlayback
playsinline
preload={ios ? 'metadata' : 'auto'}
poster={thumbnail}
Expand Down

0 comments on commit 5ec621e

Please sign in to comment.