@playkit-js/playkit-js-kava 1.9.0 → 1.9.1
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.
package/package.json
CHANGED
|
@@ -60,6 +60,15 @@ export const ApplicationEventsModel: { [playerEventName: string]: KavaEvent } =
|
|
|
60
60
|
eventVar3: layout
|
|
61
61
|
})
|
|
62
62
|
},
|
|
63
|
+
[PluginsEvents.SIDE_DISPLAYED]: {
|
|
64
|
+
type: 'SIDE_DISPLAYED',
|
|
65
|
+
getEventModel: ({ layout }: any): any => ({
|
|
66
|
+
eventType: ApplicationEventType.PAGE_LOAD,
|
|
67
|
+
eventVar1: 'view',
|
|
68
|
+
eventVar2: 'Dual__screen_slide_displayed',
|
|
69
|
+
eventVar3: layout
|
|
70
|
+
})
|
|
71
|
+
},
|
|
63
72
|
[PluginsEvents.SHARE_CLICKED]: {
|
|
64
73
|
type: 'SHARE_CLICKED',
|
|
65
74
|
getEventModel: (): any => ({
|
|
@@ -479,6 +488,15 @@ export const ApplicationEventsModel: { [playerEventName: string]: KavaEvent } =
|
|
|
479
488
|
eventVar1: payload['type'] === 'primary' ? 'CTA_primary_button_click' : 'CTA_secondary_button_click'
|
|
480
489
|
})
|
|
481
490
|
},
|
|
491
|
+
[PluginsEvents.CALL_TO_ACTION_DISPLAYED]: {
|
|
492
|
+
type: 'CALL_TO_ACTION_DISPLAYED',
|
|
493
|
+
getEventModel: (payload: any): any => ({
|
|
494
|
+
eventType: ApplicationEventType.PAGE_LOAD,
|
|
495
|
+
eventVar3: payload,
|
|
496
|
+
eventVar2: 'CTA_displayed',
|
|
497
|
+
eventVar1: 'view'
|
|
498
|
+
})
|
|
499
|
+
},
|
|
482
500
|
[PluginsEvents.HOTSPOT_DISPLAYED]: {
|
|
483
501
|
type: 'HOTSPOT_DISPLAYED',
|
|
484
502
|
getEventModel: (payload: any): any => ({
|
|
@@ -39,7 +39,8 @@ export const TranscriptEvents = {
|
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
export const DualscreenEvents = {
|
|
42
|
-
CHANGE_LAYOUT: 'dualscreen_change_layout'
|
|
42
|
+
CHANGE_LAYOUT: 'dualscreen_change_layout',
|
|
43
|
+
SIDE_DISPLAYED: 'dualscreen_side_displayed'
|
|
43
44
|
};
|
|
44
45
|
export const ShareEvents = {
|
|
45
46
|
SHARE_CLICKED: 'share_clicked',
|
|
@@ -69,7 +70,8 @@ export const RelatedEvents = {
|
|
|
69
70
|
};
|
|
70
71
|
|
|
71
72
|
export const CallToActionEvents = {
|
|
72
|
-
CALL_TO_ACTION_BUTTON_CLICK: 'call_to_action_button_click'
|
|
73
|
+
CALL_TO_ACTION_BUTTON_CLICK: 'call_to_action_button_click',
|
|
74
|
+
CALL_TO_ACTION_DISPLAYED: 'call_to_action_displayed'
|
|
73
75
|
};
|
|
74
76
|
|
|
75
77
|
export const HotspotsEvents = {
|