@glomex/integration-analytics 1.1502.0 → 1.1504.0
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.
|
@@ -28,7 +28,7 @@ export class NpawTurboPlayerAdapter {
|
|
|
28
28
|
return this.getIsLive() ? this.player.wallClockTime : this.player.currentTime;
|
|
29
29
|
}
|
|
30
30
|
getPlayrate() {
|
|
31
|
-
return
|
|
31
|
+
return this.player.playbackRate;
|
|
32
32
|
}
|
|
33
33
|
getIsLive() {
|
|
34
34
|
return this.player.content?.sources[0]?.playbackMode === PlaybackMode.LIVE;
|
|
@@ -72,9 +72,6 @@ export class NpawTurboPlayerAdapter {
|
|
|
72
72
|
};
|
|
73
73
|
for (const type of Object.keys(this._refs)) {
|
|
74
74
|
const handler = this._refs?.[type];
|
|
75
|
-
// If your IntegrationElement has typed addEventListener<K extends keyof IntegrationElementEventMap>(
|
|
76
|
-
// type: K, listener: (ev: IntegrationElementEventMap[K]) => any
|
|
77
|
-
// ), this will be fully type-safe
|
|
78
75
|
this.player.addEventListener(type, handler);
|
|
79
76
|
}
|
|
80
77
|
this.plugin.setAdsAdapter(this.getAdapterClass('npawTurboPlayerAdAdapter'), this.getVideo().getVideoKey());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-analytics",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1504.0",
|
|
4
4
|
"description": "Analytics integrations for the turbo player",
|
|
5
5
|
"documentation": "https://docs.glomex.com",
|
|
6
6
|
"homepage": "https://glomex.com",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@comscore/analytics": "^7.13.2",
|
|
55
|
-
"@glomex/integration-web-component": "1.
|
|
55
|
+
"@glomex/integration-web-component": "1.1504.0",
|
|
56
56
|
"npaw-plugin": "^7.3.18"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
65
|
"license": "MIT",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "a0f12415cb417f8c61d4db8704b3f900c0085200"
|
|
67
67
|
}
|