@streamscloud/embeddable 6.3.5 → 6.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script lang="ts">import { Icon, IconColor } from '../../ui/icon';
|
|
2
2
|
import { ImageRounded } from '../../ui/image';
|
|
3
3
|
import IconTargetArrow from '@fluentui/svg-icons/icons/target_arrow_20_regular.svg?raw';
|
|
4
|
-
import { onMount } from 'svelte';
|
|
5
4
|
let { model, on } = $props();
|
|
6
5
|
const attachmentsToShow = $derived.by(() => {
|
|
7
6
|
const products = model.products
|
|
@@ -23,7 +23,8 @@ export function openShortVideosPlayer(init) {
|
|
|
23
23
|
mediaCenterDataProvider = new InternalMediaCenterDataProvider(init.mediaPageId, graphqlOrigin);
|
|
24
24
|
}
|
|
25
25
|
let analyticsHandler = init.analyticsHandler;
|
|
26
|
-
if (!analyticsHandler && !init.shortVideosProvider
|
|
26
|
+
if (!analyticsHandler && !init.shortVideosProvider) {
|
|
27
|
+
// Only create internal analytics handler if using internal data provider
|
|
27
28
|
analyticsHandler = new InternalShortVideoAnalyticsHandler(graphqlOrigin);
|
|
28
29
|
}
|
|
29
30
|
const shadowHost = new ModalShadowHost();
|