@vime/svelte
Advanced tools
Comparing version 5.0.18 to 5.0.19
@@ -6,2 +6,10 @@ # Change Log | ||
## 5.0.19 (2020-12-22) | ||
**Note:** Version bump only for package @vime/svelte | ||
## 5.0.18 (2020-12-21) | ||
@@ -8,0 +16,0 @@ |
@@ -15,4 +15,4 @@ "use strict"; | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[25].default; | ||
const default_slot = internal_1.create_slot(default_slot_template, ctx, /*$$scope*/ ctx[24], null); | ||
const default_slot_template = /*#slots*/ ctx[26].default; | ||
const default_slot = internal_1.create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null); | ||
return { | ||
@@ -28,15 +28,16 @@ c() { | ||
internal_1.set_custom_element_data(vm_dash, "version", /*version*/ ctx[3]); | ||
internal_1.set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
internal_1.set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
internal_1.set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
internal_1.set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
internal_1.set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
internal_1.set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
internal_1.set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
internal_1.set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
internal_1.set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
internal_1.set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
internal_1.set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
internal_1.set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
internal_1.set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
internal_1.set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
internal_1.set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
internal_1.set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
internal_1.set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
internal_1.set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
internal_1.set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
internal_1.set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
internal_1.set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
internal_1.set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
internal_1.set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
internal_1.set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
internal_1.set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
internal_1.set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
internal_1.set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
}, | ||
@@ -48,8 +49,8 @@ m(target, anchor) { | ||
} | ||
/*vm_dash_binding*/ ctx[26](vm_dash); | ||
/*vm_dash_binding*/ ctx[27](vm_dash); | ||
current = true; | ||
if (!mounted) { | ||
dispose = [ | ||
internal_1.listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[18]), | ||
internal_1.listen(vm_dash, "vmError", /*onEvent*/ ctx[18]) | ||
internal_1.listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[19]), | ||
internal_1.listen(vm_dash, "vmError", /*onEvent*/ ctx[19]) | ||
]; | ||
@@ -61,4 +62,4 @@ mounted = true; | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 16777216) { | ||
internal_1.update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[24], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 33554432) { | ||
internal_1.update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[25], dirty, null, null); | ||
} | ||
@@ -78,41 +79,44 @@ } | ||
} | ||
if (!current || dirty & /*autoplay*/ 16) { | ||
internal_1.set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
if (!current || dirty & /*libSrc*/ 16) { | ||
internal_1.set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
internal_1.set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
if (!current || dirty & /*autoplay*/ 32) { | ||
internal_1.set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*preload*/ 64) { | ||
internal_1.set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
if (!current || dirty & /*crossOrigin*/ 64) { | ||
internal_1.set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*poster*/ 128) { | ||
internal_1.set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
if (!current || dirty & /*preload*/ 128) { | ||
internal_1.set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
internal_1.set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
if (!current || dirty & /*poster*/ 256) { | ||
internal_1.set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
internal_1.set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
if (!current || dirty & /*controlsList*/ 512) { | ||
internal_1.set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
internal_1.set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
if (!current || dirty & /*autoPiP*/ 1024) { | ||
internal_1.set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
internal_1.set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
if (!current || dirty & /*disablePiP*/ 2048) { | ||
internal_1.set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
internal_1.set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 4096) { | ||
internal_1.set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 8192) { | ||
internal_1.set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
internal_1.set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 16384) { | ||
internal_1.set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 16384) { | ||
internal_1.set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
} | ||
if (!current || dirty & /*isTextTrackVisible*/ 32768) { | ||
internal_1.set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 32768) { | ||
internal_1.set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 65536) { | ||
internal_1.set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
if (!current || dirty & /*isTextTrackVisible*/ 65536) { | ||
internal_1.set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 131072) { | ||
internal_1.set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
} | ||
}, | ||
@@ -134,3 +138,3 @@ i(local) { | ||
default_slot.d(detaching); | ||
/*vm_dash_binding*/ ctx[26](null); | ||
/*vm_dash_binding*/ ctx[27](null); | ||
mounted = false; | ||
@@ -153,2 +157,3 @@ internal_1.run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = {} } = $$props; | ||
@@ -172,3 +177,3 @@ let { autoplay = false } = $$props; | ||
svelte_1.onMount(() => { | ||
$$invalidate(23, __mounted = true); | ||
$$invalidate(24, __mounted = true); | ||
}); | ||
@@ -182,3 +187,3 @@ const onEvent = e => { | ||
__ref = $$value; | ||
$$invalidate(17, __ref); | ||
$$invalidate(18, __ref); | ||
}); | ||
@@ -195,35 +200,37 @@ } | ||
$$invalidate(3, version = $$props.version); | ||
if ("libSrc" in $$props) | ||
$$invalidate(4, libSrc = $$props.libSrc); | ||
if ("config" in $$props) | ||
$$invalidate(19, config = $$props.config); | ||
$$invalidate(20, config = $$props.config); | ||
if ("autoplay" in $$props) | ||
$$invalidate(4, autoplay = $$props.autoplay); | ||
$$invalidate(5, autoplay = $$props.autoplay); | ||
if ("crossOrigin" in $$props) | ||
$$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
$$invalidate(6, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) | ||
$$invalidate(6, preload = $$props.preload); | ||
$$invalidate(7, preload = $$props.preload); | ||
if ("poster" in $$props) | ||
$$invalidate(7, poster = $$props.poster); | ||
$$invalidate(8, poster = $$props.poster); | ||
if ("controlsList" in $$props) | ||
$$invalidate(8, controlsList = $$props.controlsList); | ||
$$invalidate(9, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) | ||
$$invalidate(9, autoPiP = $$props.autoPiP); | ||
$$invalidate(10, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) | ||
$$invalidate(10, disablePiP = $$props.disablePiP); | ||
$$invalidate(11, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) | ||
$$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
$$invalidate(12, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("mediaTitle" in $$props) | ||
$$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
$$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("enableTextTracksByDefault" in $$props) | ||
$$invalidate(13, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
$$invalidate(14, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
if ("shouldRenderNativeTextTracks" in $$props) | ||
$$invalidate(14, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
$$invalidate(15, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
if ("isTextTrackVisible" in $$props) | ||
$$invalidate(15, isTextTrackVisible = $$props.isTextTrackVisible); | ||
$$invalidate(16, isTextTrackVisible = $$props.isTextTrackVisible); | ||
if ("currentTextTrack" in $$props) | ||
$$invalidate(16, currentTextTrack = $$props.currentTextTrack); | ||
$$invalidate(17, currentTextTrack = $$props.currentTextTrack); | ||
if ("$$scope" in $$props) | ||
$$invalidate(24, $$scope = $$props.$$scope); | ||
$$invalidate(25, $$scope = $$props.$$scope); | ||
}; | ||
$$self.$$.update = () => { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 9043968) { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 18087936) { | ||
$: if (__mounted) | ||
@@ -238,2 +245,3 @@ lib_2.setProp(__ref, "config", config); | ||
version, | ||
libSrc, | ||
autoplay, | ||
@@ -272,19 +280,20 @@ crossOrigin, | ||
version: 3, | ||
config: 19, | ||
autoplay: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
mediaTitle: 12, | ||
enableTextTracksByDefault: 13, | ||
shouldRenderNativeTextTracks: 14, | ||
isTextTrackVisible: 15, | ||
currentTextTrack: 16, | ||
getAdapter: 20, | ||
ref: 21, | ||
getWebComponent: 22 | ||
libSrc: 4, | ||
config: 20, | ||
autoplay: 5, | ||
crossOrigin: 6, | ||
preload: 7, | ||
poster: 8, | ||
controlsList: 9, | ||
autoPiP: 10, | ||
disablePiP: 11, | ||
disableRemotePlayback: 12, | ||
mediaTitle: 13, | ||
enableTextTracksByDefault: 14, | ||
shouldRenderNativeTextTracks: 15, | ||
isTextTrackVisible: 16, | ||
currentTextTrack: 17, | ||
getAdapter: 21, | ||
ref: 22, | ||
getWebComponent: 23 | ||
}); | ||
@@ -300,9 +309,9 @@ } | ||
get getAdapter() { | ||
return this.$$.ctx[20]; | ||
return this.$$.ctx[21]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[21]; | ||
return this.$$.ctx[22]; | ||
} | ||
get getWebComponent() { | ||
return this.$$.ctx[22]; | ||
return this.$$.ctx[23]; | ||
} | ||
@@ -309,0 +318,0 @@ } |
@@ -13,4 +13,4 @@ "use strict"; | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[19].default; | ||
const default_slot = internal_1.create_slot(default_slot_template, ctx, /*$$scope*/ ctx[18], null); | ||
const default_slot_template = /*#slots*/ ctx[20].default; | ||
const default_slot = internal_1.create_slot(default_slot_template, ctx, /*$$scope*/ ctx[19], null); | ||
return { | ||
@@ -24,12 +24,13 @@ c() { | ||
internal_1.set_custom_element_data(vm_hls, "version", /*version*/ ctx[2]); | ||
internal_1.set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
internal_1.set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
internal_1.set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
internal_1.set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
internal_1.set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
internal_1.set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
internal_1.set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
internal_1.set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
internal_1.set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
internal_1.set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
internal_1.set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
internal_1.set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
internal_1.set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
internal_1.set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
internal_1.set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
internal_1.set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
internal_1.set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
internal_1.set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
internal_1.set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
internal_1.set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
internal_1.set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
}, | ||
@@ -41,8 +42,8 @@ m(target, anchor) { | ||
} | ||
/*vm_hls_binding*/ ctx[20](vm_hls); | ||
/*vm_hls_binding*/ ctx[21](vm_hls); | ||
current = true; | ||
if (!mounted) { | ||
dispose = [ | ||
internal_1.listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[14]), | ||
internal_1.listen(vm_hls, "vmError", /*onEvent*/ ctx[14]) | ||
internal_1.listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[15]), | ||
internal_1.listen(vm_hls, "vmError", /*onEvent*/ ctx[15]) | ||
]; | ||
@@ -54,4 +55,4 @@ mounted = true; | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 262144) { | ||
internal_1.update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[18], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 524288) { | ||
internal_1.update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[19], dirty, null, null); | ||
} | ||
@@ -68,32 +69,35 @@ } | ||
} | ||
if (!current || dirty & /*config*/ 8) { | ||
internal_1.set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
if (!current || dirty & /*libSrc*/ 8) { | ||
internal_1.set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 16) { | ||
internal_1.set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
if (!current || dirty & /*config*/ 16) { | ||
internal_1.set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*preload*/ 32) { | ||
internal_1.set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
internal_1.set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*poster*/ 64) { | ||
internal_1.set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
if (!current || dirty & /*preload*/ 64) { | ||
internal_1.set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 128) { | ||
internal_1.set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
if (!current || dirty & /*poster*/ 128) { | ||
internal_1.set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 256) { | ||
internal_1.set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
internal_1.set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 512) { | ||
internal_1.set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
internal_1.set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 1024) { | ||
internal_1.set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
internal_1.set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*playbackReady*/ 2048) { | ||
internal_1.set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
internal_1.set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
internal_1.set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*playbackReady*/ 4096) { | ||
internal_1.set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
internal_1.set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
}, | ||
@@ -115,3 +119,3 @@ i(local) { | ||
default_slot.d(detaching); | ||
/*vm_hls_binding*/ ctx[20](null); | ||
/*vm_hls_binding*/ ctx[21](null); | ||
mounted = false; | ||
@@ -133,2 +137,3 @@ internal_1.run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = undefined } = $$props; | ||
@@ -157,3 +162,3 @@ let { crossOrigin = undefined } = $$props; | ||
__ref = $$value; | ||
$$invalidate(13, __ref); | ||
$$invalidate(14, __ref); | ||
}); | ||
@@ -168,24 +173,26 @@ } | ||
$$invalidate(2, version = $$props.version); | ||
if ("libSrc" in $$props) | ||
$$invalidate(3, libSrc = $$props.libSrc); | ||
if ("config" in $$props) | ||
$$invalidate(3, config = $$props.config); | ||
$$invalidate(4, config = $$props.config); | ||
if ("crossOrigin" in $$props) | ||
$$invalidate(4, crossOrigin = $$props.crossOrigin); | ||
$$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) | ||
$$invalidate(5, preload = $$props.preload); | ||
$$invalidate(6, preload = $$props.preload); | ||
if ("poster" in $$props) | ||
$$invalidate(6, poster = $$props.poster); | ||
$$invalidate(7, poster = $$props.poster); | ||
if ("controlsList" in $$props) | ||
$$invalidate(7, controlsList = $$props.controlsList); | ||
$$invalidate(8, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) | ||
$$invalidate(8, autoPiP = $$props.autoPiP); | ||
$$invalidate(9, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) | ||
$$invalidate(9, disablePiP = $$props.disablePiP); | ||
$$invalidate(10, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) | ||
$$invalidate(10, disableRemotePlayback = $$props.disableRemotePlayback); | ||
$$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("playbackReady" in $$props) | ||
$$invalidate(11, playbackReady = $$props.playbackReady); | ||
$$invalidate(12, playbackReady = $$props.playbackReady); | ||
if ("mediaTitle" in $$props) | ||
$$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
$$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("$$scope" in $$props) | ||
$$invalidate(18, $$scope = $$props.$$scope); | ||
$$invalidate(19, $$scope = $$props.$$scope); | ||
}; | ||
@@ -196,2 +203,3 @@ return [ | ||
version, | ||
libSrc, | ||
config, | ||
@@ -224,15 +232,16 @@ crossOrigin, | ||
version: 2, | ||
config: 3, | ||
crossOrigin: 4, | ||
preload: 5, | ||
poster: 6, | ||
controlsList: 7, | ||
autoPiP: 8, | ||
disablePiP: 9, | ||
disableRemotePlayback: 10, | ||
playbackReady: 11, | ||
mediaTitle: 12, | ||
getAdapter: 15, | ||
ref: 16, | ||
getWebComponent: 17 | ||
libSrc: 3, | ||
config: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
playbackReady: 12, | ||
mediaTitle: 13, | ||
getAdapter: 16, | ||
ref: 17, | ||
getWebComponent: 18 | ||
}); | ||
@@ -248,9 +257,9 @@ } | ||
get getAdapter() { | ||
return this.$$.ctx[15]; | ||
return this.$$.ctx[16]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[16]; | ||
return this.$$.ctx[17]; | ||
} | ||
get getWebComponent() { | ||
return this.$$.ctx[17]; | ||
return this.$$.ctx[18]; | ||
} | ||
@@ -257,0 +266,0 @@ } |
@@ -13,4 +13,4 @@ /* generated by Svelte v3.31.0 */ | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[25].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[24], null); | ||
const default_slot_template = /*#slots*/ ctx[26].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null); | ||
return { | ||
@@ -26,15 +26,16 @@ c() { | ||
set_custom_element_data(vm_dash, "version", /*version*/ ctx[3]); | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
}, | ||
@@ -46,8 +47,8 @@ m(target, anchor) { | ||
} | ||
/*vm_dash_binding*/ ctx[26](vm_dash); | ||
/*vm_dash_binding*/ ctx[27](vm_dash); | ||
current = true; | ||
if (!mounted) { | ||
dispose = [ | ||
listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[18]), | ||
listen(vm_dash, "vmError", /*onEvent*/ ctx[18]) | ||
listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[19]), | ||
listen(vm_dash, "vmError", /*onEvent*/ ctx[19]) | ||
]; | ||
@@ -59,4 +60,4 @@ mounted = true; | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 16777216) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[24], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 33554432) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[25], dirty, null, null); | ||
} | ||
@@ -76,41 +77,44 @@ } | ||
} | ||
if (!current || dirty & /*autoplay*/ 16) { | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
if (!current || dirty & /*libSrc*/ 16) { | ||
set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
if (!current || dirty & /*autoplay*/ 32) { | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*preload*/ 64) { | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
if (!current || dirty & /*crossOrigin*/ 64) { | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*poster*/ 128) { | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
if (!current || dirty & /*preload*/ 128) { | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
if (!current || dirty & /*poster*/ 256) { | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
if (!current || dirty & /*controlsList*/ 512) { | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
if (!current || dirty & /*autoPiP*/ 1024) { | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
if (!current || dirty & /*disablePiP*/ 2048) { | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 4096) { | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 8192) { | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 16384) { | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 16384) { | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
} | ||
if (!current || dirty & /*isTextTrackVisible*/ 32768) { | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 32768) { | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 65536) { | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
if (!current || dirty & /*isTextTrackVisible*/ 65536) { | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 131072) { | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
} | ||
}, | ||
@@ -132,3 +136,3 @@ i(local) { | ||
default_slot.d(detaching); | ||
/*vm_dash_binding*/ ctx[26](null); | ||
/*vm_dash_binding*/ ctx[27](null); | ||
mounted = false; | ||
@@ -151,2 +155,3 @@ run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = {} } = $$props; | ||
@@ -170,3 +175,3 @@ let { autoplay = false } = $$props; | ||
onMount(() => { | ||
$$invalidate(23, __mounted = true); | ||
$$invalidate(24, __mounted = true); | ||
}); | ||
@@ -180,3 +185,3 @@ const onEvent = e => { | ||
__ref = $$value; | ||
$$invalidate(17, __ref); | ||
$$invalidate(18, __ref); | ||
}); | ||
@@ -193,35 +198,37 @@ } | ||
$$invalidate(3, version = $$props.version); | ||
if ("libSrc" in $$props) | ||
$$invalidate(4, libSrc = $$props.libSrc); | ||
if ("config" in $$props) | ||
$$invalidate(19, config = $$props.config); | ||
$$invalidate(20, config = $$props.config); | ||
if ("autoplay" in $$props) | ||
$$invalidate(4, autoplay = $$props.autoplay); | ||
$$invalidate(5, autoplay = $$props.autoplay); | ||
if ("crossOrigin" in $$props) | ||
$$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
$$invalidate(6, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) | ||
$$invalidate(6, preload = $$props.preload); | ||
$$invalidate(7, preload = $$props.preload); | ||
if ("poster" in $$props) | ||
$$invalidate(7, poster = $$props.poster); | ||
$$invalidate(8, poster = $$props.poster); | ||
if ("controlsList" in $$props) | ||
$$invalidate(8, controlsList = $$props.controlsList); | ||
$$invalidate(9, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) | ||
$$invalidate(9, autoPiP = $$props.autoPiP); | ||
$$invalidate(10, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) | ||
$$invalidate(10, disablePiP = $$props.disablePiP); | ||
$$invalidate(11, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) | ||
$$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
$$invalidate(12, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("mediaTitle" in $$props) | ||
$$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
$$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("enableTextTracksByDefault" in $$props) | ||
$$invalidate(13, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
$$invalidate(14, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
if ("shouldRenderNativeTextTracks" in $$props) | ||
$$invalidate(14, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
$$invalidate(15, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
if ("isTextTrackVisible" in $$props) | ||
$$invalidate(15, isTextTrackVisible = $$props.isTextTrackVisible); | ||
$$invalidate(16, isTextTrackVisible = $$props.isTextTrackVisible); | ||
if ("currentTextTrack" in $$props) | ||
$$invalidate(16, currentTextTrack = $$props.currentTextTrack); | ||
$$invalidate(17, currentTextTrack = $$props.currentTextTrack); | ||
if ("$$scope" in $$props) | ||
$$invalidate(24, $$scope = $$props.$$scope); | ||
$$invalidate(25, $$scope = $$props.$$scope); | ||
}; | ||
$$self.$$.update = () => { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 9043968) { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 18087936) { | ||
$: if (__mounted) | ||
@@ -236,2 +243,3 @@ setProp(__ref, "config", config); | ||
version, | ||
libSrc, | ||
autoplay, | ||
@@ -270,19 +278,20 @@ crossOrigin, | ||
version: 3, | ||
config: 19, | ||
autoplay: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
mediaTitle: 12, | ||
enableTextTracksByDefault: 13, | ||
shouldRenderNativeTextTracks: 14, | ||
isTextTrackVisible: 15, | ||
currentTextTrack: 16, | ||
getAdapter: 20, | ||
ref: 21, | ||
getWebComponent: 22 | ||
libSrc: 4, | ||
config: 20, | ||
autoplay: 5, | ||
crossOrigin: 6, | ||
preload: 7, | ||
poster: 8, | ||
controlsList: 9, | ||
autoPiP: 10, | ||
disablePiP: 11, | ||
disableRemotePlayback: 12, | ||
mediaTitle: 13, | ||
enableTextTracksByDefault: 14, | ||
shouldRenderNativeTextTracks: 15, | ||
isTextTrackVisible: 16, | ||
currentTextTrack: 17, | ||
getAdapter: 21, | ||
ref: 22, | ||
getWebComponent: 23 | ||
}); | ||
@@ -298,9 +307,9 @@ } | ||
get getAdapter() { | ||
return this.$$.ctx[20]; | ||
return this.$$.ctx[21]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[21]; | ||
return this.$$.ctx[22]; | ||
} | ||
get getWebComponent() { | ||
return this.$$.ctx[22]; | ||
return this.$$.ctx[23]; | ||
} | ||
@@ -307,0 +316,0 @@ } |
@@ -11,4 +11,4 @@ /* generated by Svelte v3.31.0 */ | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[19].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[18], null); | ||
const default_slot_template = /*#slots*/ ctx[20].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[19], null); | ||
return { | ||
@@ -22,12 +22,13 @@ c() { | ||
set_custom_element_data(vm_hls, "version", /*version*/ ctx[2]); | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
}, | ||
@@ -39,8 +40,8 @@ m(target, anchor) { | ||
} | ||
/*vm_hls_binding*/ ctx[20](vm_hls); | ||
/*vm_hls_binding*/ ctx[21](vm_hls); | ||
current = true; | ||
if (!mounted) { | ||
dispose = [ | ||
listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[14]), | ||
listen(vm_hls, "vmError", /*onEvent*/ ctx[14]) | ||
listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[15]), | ||
listen(vm_hls, "vmError", /*onEvent*/ ctx[15]) | ||
]; | ||
@@ -52,4 +53,4 @@ mounted = true; | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 262144) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[18], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 524288) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[19], dirty, null, null); | ||
} | ||
@@ -66,32 +67,35 @@ } | ||
} | ||
if (!current || dirty & /*config*/ 8) { | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
if (!current || dirty & /*libSrc*/ 8) { | ||
set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 16) { | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
if (!current || dirty & /*config*/ 16) { | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*preload*/ 32) { | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*poster*/ 64) { | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
if (!current || dirty & /*preload*/ 64) { | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 128) { | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
if (!current || dirty & /*poster*/ 128) { | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 256) { | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 512) { | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 1024) { | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*playbackReady*/ 2048) { | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*playbackReady*/ 4096) { | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
}, | ||
@@ -113,3 +117,3 @@ i(local) { | ||
default_slot.d(detaching); | ||
/*vm_hls_binding*/ ctx[20](null); | ||
/*vm_hls_binding*/ ctx[21](null); | ||
mounted = false; | ||
@@ -131,2 +135,3 @@ run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = undefined } = $$props; | ||
@@ -155,3 +160,3 @@ let { crossOrigin = undefined } = $$props; | ||
__ref = $$value; | ||
$$invalidate(13, __ref); | ||
$$invalidate(14, __ref); | ||
}); | ||
@@ -166,24 +171,26 @@ } | ||
$$invalidate(2, version = $$props.version); | ||
if ("libSrc" in $$props) | ||
$$invalidate(3, libSrc = $$props.libSrc); | ||
if ("config" in $$props) | ||
$$invalidate(3, config = $$props.config); | ||
$$invalidate(4, config = $$props.config); | ||
if ("crossOrigin" in $$props) | ||
$$invalidate(4, crossOrigin = $$props.crossOrigin); | ||
$$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) | ||
$$invalidate(5, preload = $$props.preload); | ||
$$invalidate(6, preload = $$props.preload); | ||
if ("poster" in $$props) | ||
$$invalidate(6, poster = $$props.poster); | ||
$$invalidate(7, poster = $$props.poster); | ||
if ("controlsList" in $$props) | ||
$$invalidate(7, controlsList = $$props.controlsList); | ||
$$invalidate(8, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) | ||
$$invalidate(8, autoPiP = $$props.autoPiP); | ||
$$invalidate(9, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) | ||
$$invalidate(9, disablePiP = $$props.disablePiP); | ||
$$invalidate(10, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) | ||
$$invalidate(10, disableRemotePlayback = $$props.disableRemotePlayback); | ||
$$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("playbackReady" in $$props) | ||
$$invalidate(11, playbackReady = $$props.playbackReady); | ||
$$invalidate(12, playbackReady = $$props.playbackReady); | ||
if ("mediaTitle" in $$props) | ||
$$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
$$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("$$scope" in $$props) | ||
$$invalidate(18, $$scope = $$props.$$scope); | ||
$$invalidate(19, $$scope = $$props.$$scope); | ||
}; | ||
@@ -194,2 +201,3 @@ return [ | ||
version, | ||
libSrc, | ||
config, | ||
@@ -222,15 +230,16 @@ crossOrigin, | ||
version: 2, | ||
config: 3, | ||
crossOrigin: 4, | ||
preload: 5, | ||
poster: 6, | ||
controlsList: 7, | ||
autoPiP: 8, | ||
disablePiP: 9, | ||
disableRemotePlayback: 10, | ||
playbackReady: 11, | ||
mediaTitle: 12, | ||
getAdapter: 15, | ||
ref: 16, | ||
getWebComponent: 17 | ||
libSrc: 3, | ||
config: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
playbackReady: 12, | ||
mediaTitle: 13, | ||
getAdapter: 16, | ||
ref: 17, | ||
getWebComponent: 18 | ||
}); | ||
@@ -246,9 +255,9 @@ } | ||
get getAdapter() { | ||
return this.$$.ctx[15]; | ||
return this.$$.ctx[16]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[16]; | ||
return this.$$.ctx[17]; | ||
} | ||
get getWebComponent() { | ||
return this.$$.ctx[17]; | ||
return this.$$.ctx[18]; | ||
} | ||
@@ -255,0 +264,0 @@ } |
@@ -9,2 +9,5 @@ import { Components, JSX } from '@vime/core'; | ||
version?: Components.VmDash["version"]; | ||
/** The URL where the `dashjs` library source can be found. If this property is used, then the | ||
`version` property is ignored. */ | ||
libSrc?: Components.VmDash["libSrc"]; | ||
/** The `dashjs` configuration. */ | ||
@@ -11,0 +14,0 @@ config?: Components.VmDash["config"]; |
@@ -8,2 +8,5 @@ import { Components, JSX } from '@vime/core'; | ||
version?: Components.VmHls["version"]; | ||
/** The URL where the `hls.js` library source can be found. If this property is used, then the | ||
`version` property is ignored. */ | ||
libSrc?: Components.VmHls["libSrc"]; | ||
/** The `hls.js` configuration. */ | ||
@@ -10,0 +13,0 @@ config?: Components.VmHls["config"]; |
{ | ||
"name": "@vime/svelte", | ||
"version": "5.0.18", | ||
"version": "5.0.19", | ||
"description": "Svelte bindings for the Vime media player.", | ||
@@ -30,3 +30,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@vime/core": "^5.0.18" | ||
"@vime/core": "^5.0.19" | ||
}, | ||
@@ -60,3 +60,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "b82ddfcde2a728d31fd21da0fe5979e517a1694f" | ||
"gitHead": "275e81e89c820d0013da266891895d971ec35c8a" | ||
} |
@@ -17,2 +17,6 @@ /* eslint-disable */ | ||
/** The URL where the `dashjs` library source can be found. If this property is used, then the | ||
`version` property is ignored. */ | ||
libSrc?: Components.VmDash["libSrc"] | ||
/** The `dashjs` configuration. */ | ||
@@ -110,4 +114,4 @@ config?: Components.VmDash["config"] | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[25].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[24], null); | ||
const default_slot_template = /*#slots*/ ctx[26].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null); | ||
@@ -122,15 +126,16 @@ return { | ||
set_custom_element_data(vm_dash, "version", /*version*/ ctx[3]); | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
}, | ||
@@ -144,3 +149,3 @@ m(target, anchor) { | ||
/*vm_dash_binding*/ ctx[26](vm_dash); | ||
/*vm_dash_binding*/ ctx[27](vm_dash); | ||
current = true; | ||
@@ -150,4 +155,4 @@ | ||
dispose = [ | ||
listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[18]), | ||
listen(vm_dash, "vmError", /*onEvent*/ ctx[18]) | ||
listen(vm_dash, "vmLoadStart", /*onEvent*/ ctx[19]), | ||
listen(vm_dash, "vmError", /*onEvent*/ ctx[19]) | ||
]; | ||
@@ -160,4 +165,4 @@ | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 16777216) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[24], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 33554432) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[25], dirty, null, null); | ||
} | ||
@@ -182,53 +187,57 @@ } | ||
if (!current || dirty & /*autoplay*/ 16) { | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[4]); | ||
if (!current || dirty & /*libSrc*/ 16) { | ||
set_custom_element_data(vm_dash, "lib-src", /*libSrc*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
if (!current || dirty & /*autoplay*/ 32) { | ||
set_custom_element_data(vm_dash, "autoplay", /*autoplay*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*preload*/ 64) { | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[6]); | ||
if (!current || dirty & /*crossOrigin*/ 64) { | ||
set_custom_element_data(vm_dash, "cross-origin", /*crossOrigin*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*poster*/ 128) { | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[7]); | ||
if (!current || dirty & /*preload*/ 128) { | ||
set_custom_element_data(vm_dash, "preload", /*preload*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[8]); | ||
if (!current || dirty & /*poster*/ 256) { | ||
set_custom_element_data(vm_dash, "poster", /*poster*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[9]); | ||
if (!current || dirty & /*controlsList*/ 512) { | ||
set_custom_element_data(vm_dash, "controls-list", /*controlsList*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[10]); | ||
if (!current || dirty & /*autoPiP*/ 1024) { | ||
set_custom_element_data(vm_dash, "auto-pip", /*autoPiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
if (!current || dirty & /*disablePiP*/ 2048) { | ||
set_custom_element_data(vm_dash, "disable-pip", /*disablePiP*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 4096) { | ||
set_custom_element_data(vm_dash, "disable-remote-playback", /*disableRemotePlayback*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 8192) { | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[13]); | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
set_custom_element_data(vm_dash, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 16384) { | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[14]); | ||
if (!current || dirty & /*enableTextTracksByDefault*/ 16384) { | ||
set_custom_element_data(vm_dash, "enable-text-tracks-by-default", /*enableTextTracksByDefault*/ ctx[14]); | ||
} | ||
if (!current || dirty & /*isTextTrackVisible*/ 32768) { | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[15]); | ||
if (!current || dirty & /*shouldRenderNativeTextTracks*/ 32768) { | ||
set_custom_element_data(vm_dash, "should-render-native-text-tracks", /*shouldRenderNativeTextTracks*/ ctx[15]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 65536) { | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[16]); | ||
if (!current || dirty & /*isTextTrackVisible*/ 65536) { | ||
set_custom_element_data(vm_dash, "is-text-track-visible", /*isTextTrackVisible*/ ctx[16]); | ||
} | ||
if (!current || dirty & /*currentTextTrack*/ 131072) { | ||
set_custom_element_data(vm_dash, "current-text-track", /*currentTextTrack*/ ctx[17]); | ||
} | ||
}, | ||
@@ -247,3 +256,3 @@ i(local) { | ||
if (default_slot) default_slot.d(detaching); | ||
/*vm_dash_binding*/ ctx[26](null); | ||
/*vm_dash_binding*/ ctx[27](null); | ||
mounted = false; | ||
@@ -268,2 +277,3 @@ run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = {} } = $$props; | ||
@@ -288,3 +298,3 @@ let { autoplay = false } = $$props; | ||
onMount(() => { | ||
$$invalidate(23, __mounted = true); | ||
$$invalidate(24, __mounted = true); | ||
}); | ||
@@ -300,3 +310,3 @@ | ||
__ref = $$value; | ||
$$invalidate(17, __ref); | ||
$$invalidate(18, __ref); | ||
}); | ||
@@ -310,21 +320,22 @@ } | ||
if ("version" in $$props) $$invalidate(3, version = $$props.version); | ||
if ("config" in $$props) $$invalidate(19, config = $$props.config); | ||
if ("autoplay" in $$props) $$invalidate(4, autoplay = $$props.autoplay); | ||
if ("crossOrigin" in $$props) $$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) $$invalidate(6, preload = $$props.preload); | ||
if ("poster" in $$props) $$invalidate(7, poster = $$props.poster); | ||
if ("controlsList" in $$props) $$invalidate(8, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) $$invalidate(9, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) $$invalidate(10, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) $$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("mediaTitle" in $$props) $$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
if ("enableTextTracksByDefault" in $$props) $$invalidate(13, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
if ("shouldRenderNativeTextTracks" in $$props) $$invalidate(14, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
if ("isTextTrackVisible" in $$props) $$invalidate(15, isTextTrackVisible = $$props.isTextTrackVisible); | ||
if ("currentTextTrack" in $$props) $$invalidate(16, currentTextTrack = $$props.currentTextTrack); | ||
if ("$$scope" in $$props) $$invalidate(24, $$scope = $$props.$$scope); | ||
if ("libSrc" in $$props) $$invalidate(4, libSrc = $$props.libSrc); | ||
if ("config" in $$props) $$invalidate(20, config = $$props.config); | ||
if ("autoplay" in $$props) $$invalidate(5, autoplay = $$props.autoplay); | ||
if ("crossOrigin" in $$props) $$invalidate(6, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) $$invalidate(7, preload = $$props.preload); | ||
if ("poster" in $$props) $$invalidate(8, poster = $$props.poster); | ||
if ("controlsList" in $$props) $$invalidate(9, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) $$invalidate(10, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) $$invalidate(11, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) $$invalidate(12, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("mediaTitle" in $$props) $$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("enableTextTracksByDefault" in $$props) $$invalidate(14, enableTextTracksByDefault = $$props.enableTextTracksByDefault); | ||
if ("shouldRenderNativeTextTracks" in $$props) $$invalidate(15, shouldRenderNativeTextTracks = $$props.shouldRenderNativeTextTracks); | ||
if ("isTextTrackVisible" in $$props) $$invalidate(16, isTextTrackVisible = $$props.isTextTrackVisible); | ||
if ("currentTextTrack" in $$props) $$invalidate(17, currentTextTrack = $$props.currentTextTrack); | ||
if ("$$scope" in $$props) $$invalidate(25, $$scope = $$props.$$scope); | ||
}; | ||
$$self.$$.update = () => { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 9043968) { | ||
if ($$self.$$.dirty & /*__mounted, __ref, config*/ 18087936) { | ||
$: if (__mounted) setProp(__ref, "config", config); | ||
@@ -339,2 +350,3 @@ } | ||
version, | ||
libSrc, | ||
autoplay, | ||
@@ -387,19 +399,20 @@ crossOrigin, | ||
version: 3, | ||
config: 19, | ||
autoplay: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
mediaTitle: 12, | ||
enableTextTracksByDefault: 13, | ||
shouldRenderNativeTextTracks: 14, | ||
isTextTrackVisible: 15, | ||
currentTextTrack: 16, | ||
getAdapter: 20, | ||
ref: 21, | ||
getWebComponent: 22 | ||
libSrc: 4, | ||
config: 20, | ||
autoplay: 5, | ||
crossOrigin: 6, | ||
preload: 7, | ||
poster: 8, | ||
controlsList: 9, | ||
autoPiP: 10, | ||
disablePiP: 11, | ||
disableRemotePlayback: 12, | ||
mediaTitle: 13, | ||
enableTextTracksByDefault: 14, | ||
shouldRenderNativeTextTracks: 15, | ||
isTextTrackVisible: 16, | ||
currentTextTrack: 17, | ||
getAdapter: 21, | ||
ref: 22, | ||
getWebComponent: 23 | ||
}); | ||
@@ -411,11 +424,11 @@ } | ||
get getAdapter(): Components.VmDash["getAdapter"] { | ||
return this.$$.ctx[20]; | ||
return this.$$.ctx[21]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[21]; | ||
return this.$$.ctx[22]; | ||
} | ||
get getWebComponent(): HTMLVmDashElement | undefined { | ||
return this.$$.ctx[22]; | ||
return this.$$.ctx[23]; | ||
} | ||
@@ -422,0 +435,0 @@ } |
@@ -15,2 +15,6 @@ /* eslint-disable */ | ||
/** The URL where the `hls.js` library source can be found. If this property is used, then the | ||
`version` property is ignored. */ | ||
libSrc?: Components.VmHls["libSrc"] | ||
/** The `hls.js` configuration. */ | ||
@@ -95,4 +99,4 @@ config?: Components.VmHls["config"] | ||
let dispose; | ||
const default_slot_template = /*#slots*/ ctx[19].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[18], null); | ||
const default_slot_template = /*#slots*/ ctx[20].default; | ||
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[19], null); | ||
@@ -106,12 +110,13 @@ return { | ||
set_custom_element_data(vm_hls, "version", /*version*/ ctx[2]); | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
}, | ||
@@ -125,3 +130,3 @@ m(target, anchor) { | ||
/*vm_hls_binding*/ ctx[20](vm_hls); | ||
/*vm_hls_binding*/ ctx[21](vm_hls); | ||
current = true; | ||
@@ -131,4 +136,4 @@ | ||
dispose = [ | ||
listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[14]), | ||
listen(vm_hls, "vmError", /*onEvent*/ ctx[14]) | ||
listen(vm_hls, "vmLoadStart", /*onEvent*/ ctx[15]), | ||
listen(vm_hls, "vmError", /*onEvent*/ ctx[15]) | ||
]; | ||
@@ -141,4 +146,4 @@ | ||
if (default_slot) { | ||
if (default_slot.p && dirty & /*$$scope*/ 262144) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[18], dirty, null, null); | ||
if (default_slot.p && dirty & /*$$scope*/ 524288) { | ||
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[19], dirty, null, null); | ||
} | ||
@@ -159,41 +164,45 @@ } | ||
if (!current || dirty & /*config*/ 8) { | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[3]); | ||
if (!current || dirty & /*libSrc*/ 8) { | ||
set_custom_element_data(vm_hls, "lib-src", /*libSrc*/ ctx[3]); | ||
} | ||
if (!current || dirty & /*crossOrigin*/ 16) { | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[4]); | ||
if (!current || dirty & /*config*/ 16) { | ||
set_custom_element_data(vm_hls, "config", /*config*/ ctx[4]); | ||
} | ||
if (!current || dirty & /*preload*/ 32) { | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[5]); | ||
if (!current || dirty & /*crossOrigin*/ 32) { | ||
set_custom_element_data(vm_hls, "cross-origin", /*crossOrigin*/ ctx[5]); | ||
} | ||
if (!current || dirty & /*poster*/ 64) { | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[6]); | ||
if (!current || dirty & /*preload*/ 64) { | ||
set_custom_element_data(vm_hls, "preload", /*preload*/ ctx[6]); | ||
} | ||
if (!current || dirty & /*controlsList*/ 128) { | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[7]); | ||
if (!current || dirty & /*poster*/ 128) { | ||
set_custom_element_data(vm_hls, "poster", /*poster*/ ctx[7]); | ||
} | ||
if (!current || dirty & /*autoPiP*/ 256) { | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[8]); | ||
if (!current || dirty & /*controlsList*/ 256) { | ||
set_custom_element_data(vm_hls, "controls-list", /*controlsList*/ ctx[8]); | ||
} | ||
if (!current || dirty & /*disablePiP*/ 512) { | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[9]); | ||
if (!current || dirty & /*autoPiP*/ 512) { | ||
set_custom_element_data(vm_hls, "auto-pip", /*autoPiP*/ ctx[9]); | ||
} | ||
if (!current || dirty & /*disableRemotePlayback*/ 1024) { | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[10]); | ||
if (!current || dirty & /*disablePiP*/ 1024) { | ||
set_custom_element_data(vm_hls, "disable-pip", /*disablePiP*/ ctx[10]); | ||
} | ||
if (!current || dirty & /*playbackReady*/ 2048) { | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[11]); | ||
if (!current || dirty & /*disableRemotePlayback*/ 2048) { | ||
set_custom_element_data(vm_hls, "disable-remote-playback", /*disableRemotePlayback*/ ctx[11]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 4096) { | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[12]); | ||
if (!current || dirty & /*playbackReady*/ 4096) { | ||
set_custom_element_data(vm_hls, "playback-ready", /*playbackReady*/ ctx[12]); | ||
} | ||
if (!current || dirty & /*mediaTitle*/ 8192) { | ||
set_custom_element_data(vm_hls, "media-title", /*mediaTitle*/ ctx[13]); | ||
} | ||
}, | ||
@@ -212,3 +221,3 @@ i(local) { | ||
if (default_slot) default_slot.d(detaching); | ||
/*vm_hls_binding*/ ctx[20](null); | ||
/*vm_hls_binding*/ ctx[21](null); | ||
mounted = false; | ||
@@ -232,2 +241,3 @@ run_all(dispose); | ||
let { version = "latest" } = $$props; | ||
let { libSrc = undefined } = $$props; | ||
let { config = undefined } = $$props; | ||
@@ -259,3 +269,3 @@ let { crossOrigin = undefined } = $$props; | ||
__ref = $$value; | ||
$$invalidate(13, __ref); | ||
$$invalidate(14, __ref); | ||
}); | ||
@@ -268,13 +278,14 @@ } | ||
if ("version" in $$props) $$invalidate(2, version = $$props.version); | ||
if ("config" in $$props) $$invalidate(3, config = $$props.config); | ||
if ("crossOrigin" in $$props) $$invalidate(4, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) $$invalidate(5, preload = $$props.preload); | ||
if ("poster" in $$props) $$invalidate(6, poster = $$props.poster); | ||
if ("controlsList" in $$props) $$invalidate(7, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) $$invalidate(8, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) $$invalidate(9, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) $$invalidate(10, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("playbackReady" in $$props) $$invalidate(11, playbackReady = $$props.playbackReady); | ||
if ("mediaTitle" in $$props) $$invalidate(12, mediaTitle = $$props.mediaTitle); | ||
if ("$$scope" in $$props) $$invalidate(18, $$scope = $$props.$$scope); | ||
if ("libSrc" in $$props) $$invalidate(3, libSrc = $$props.libSrc); | ||
if ("config" in $$props) $$invalidate(4, config = $$props.config); | ||
if ("crossOrigin" in $$props) $$invalidate(5, crossOrigin = $$props.crossOrigin); | ||
if ("preload" in $$props) $$invalidate(6, preload = $$props.preload); | ||
if ("poster" in $$props) $$invalidate(7, poster = $$props.poster); | ||
if ("controlsList" in $$props) $$invalidate(8, controlsList = $$props.controlsList); | ||
if ("autoPiP" in $$props) $$invalidate(9, autoPiP = $$props.autoPiP); | ||
if ("disablePiP" in $$props) $$invalidate(10, disablePiP = $$props.disablePiP); | ||
if ("disableRemotePlayback" in $$props) $$invalidate(11, disableRemotePlayback = $$props.disableRemotePlayback); | ||
if ("playbackReady" in $$props) $$invalidate(12, playbackReady = $$props.playbackReady); | ||
if ("mediaTitle" in $$props) $$invalidate(13, mediaTitle = $$props.mediaTitle); | ||
if ("$$scope" in $$props) $$invalidate(19, $$scope = $$props.$$scope); | ||
}; | ||
@@ -286,2 +297,3 @@ | ||
version, | ||
libSrc, | ||
config, | ||
@@ -328,15 +340,16 @@ crossOrigin, | ||
version: 2, | ||
config: 3, | ||
crossOrigin: 4, | ||
preload: 5, | ||
poster: 6, | ||
controlsList: 7, | ||
autoPiP: 8, | ||
disablePiP: 9, | ||
disableRemotePlayback: 10, | ||
playbackReady: 11, | ||
mediaTitle: 12, | ||
getAdapter: 15, | ||
ref: 16, | ||
getWebComponent: 17 | ||
libSrc: 3, | ||
config: 4, | ||
crossOrigin: 5, | ||
preload: 6, | ||
poster: 7, | ||
controlsList: 8, | ||
autoPiP: 9, | ||
disablePiP: 10, | ||
disableRemotePlayback: 11, | ||
playbackReady: 12, | ||
mediaTitle: 13, | ||
getAdapter: 16, | ||
ref: 17, | ||
getWebComponent: 18 | ||
}); | ||
@@ -348,11 +361,11 @@ } | ||
get getAdapter(): Components.VmHls["getAdapter"] { | ||
return this.$$.ctx[15]; | ||
return this.$$.ctx[16]; | ||
} | ||
get ref() { | ||
return this.$$.ctx[16]; | ||
return this.$$.ctx[17]; | ||
} | ||
get getWebComponent(): HTMLVmHlsElement | undefined { | ||
return this.$$.ctx[17]; | ||
return this.$$.ctx[18]; | ||
} | ||
@@ -359,0 +372,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3232636
37093
Updated@vime/core@^5.0.19