@srgssr/pillarbox-web 1.33.1 → 1.34.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.
@@ -3,7 +3,7 @@
3
3
  const videojs = require('video.js');
4
4
  require('videojs-contrib-eme');
5
5
 
6
- const version = "1.33.0";
6
+ const version = "1.33.1";
7
7
 
8
8
  /** @import VJSPlayer from 'video.js/dist/types/player' */
9
9
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -1,7 +1,7 @@
1
1
  import videojs from 'video.js';
2
2
  import 'videojs-contrib-eme';
3
3
 
4
- const version = "1.33.0";
4
+ const version = "1.33.1";
5
5
 
6
6
  /** @import VJSPlayer from 'video.js/dist/types/player' */
7
7
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -94,7 +94,7 @@ function _toPropertyKey(t) {
94
94
  return "symbol" == typeof i ? i : i + "";
95
95
  }
96
96
 
97
- const version = "1.33.0";
97
+ const version = "1.33.1";
98
98
 
99
99
  /** @import VJSPlayer from 'video.js/dist/types/player' */
100
100
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -1428,7 +1428,7 @@ class SRGAnalytics {
1428
1428
  getInternalLabels() {
1429
1429
  const data = {
1430
1430
  media_bu_distributer: this.srcMediaData.mediaData.vendor,
1431
- media_chromecast_selected: Boolean(this.player.tech(true).isCasting),
1431
+ media_google_cast: this.player.tech(true).name() === 'PillarboxReceiver',
1432
1432
  media_embedding_url: document.referrer,
1433
1433
  media_player_display: 'default',
1434
1434
  // TODO implement if it still relevant
@@ -1741,7 +1741,7 @@ class SRGAnalytics {
1741
1741
  * Sent to ComScore when the playback rate changes.
1742
1742
  *
1743
1743
  * @see https://github.com/SRGSSR/srgletterbox-web/issues/761
1744
- * @see https://srgssr-ch.atlassian.net/browse/ADI-256
1744
+ * @see https://srgssr-ch.atlassian.net/browse/ADI-256
1745
1745
  */
1746
1746
  rateChange() {
1747
1747
  this.notify('change_playback_rate');
@@ -1835,7 +1835,7 @@ class SRGAnalytics {
1835
1835
  * It's expected notifyBufferStart() to be called when the player starts buffering
1836
1836
  * and a call to notifyBufferStop() when content resumes after buffering.
1837
1837
  *
1838
- * @see Item 2: https://srgssr-ch.atlassian.net/browse/PLAY-2628
1838
+ * @see Item 2: https://srgssr-ch.atlassian.net/browse/PLAY-2628
1839
1839
  *
1840
1840
  * After the issue PLAYRTS-321
1841
1841
  * @see Fix: https://srgssr-ch.atlassian.net/browse/PLAYRTS-321?focusedCommentId=201023&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-201023