@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.
@@ -90,7 +90,7 @@ function _toPropertyKey(t) {
90
90
  return "symbol" == typeof i ? i : i + "";
91
91
  }
92
92
 
93
- const version = "1.33.0";
93
+ const version = "1.33.1";
94
94
 
95
95
  /** @import VJSPlayer from 'video.js/dist/types/player' */
96
96
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -1424,7 +1424,7 @@ class SRGAnalytics {
1424
1424
  getInternalLabels() {
1425
1425
  const data = {
1426
1426
  media_bu_distributer: this.srcMediaData.mediaData.vendor,
1427
- media_chromecast_selected: Boolean(this.player.tech(true).isCasting),
1427
+ media_google_cast: this.player.tech(true).name() === 'PillarboxReceiver',
1428
1428
  media_embedding_url: document.referrer,
1429
1429
  media_player_display: 'default',
1430
1430
  // TODO implement if it still relevant
@@ -1737,7 +1737,7 @@ class SRGAnalytics {
1737
1737
  * Sent to ComScore when the playback rate changes.
1738
1738
  *
1739
1739
  * @see https://github.com/SRGSSR/srgletterbox-web/issues/761
1740
- * @see https://srgssr-ch.atlassian.net/browse/ADI-256
1740
+ * @see https://srgssr-ch.atlassian.net/browse/ADI-256
1741
1741
  */
1742
1742
  rateChange() {
1743
1743
  this.notify('change_playback_rate');
@@ -1831,7 +1831,7 @@ class SRGAnalytics {
1831
1831
  * It's expected notifyBufferStart() to be called when the player starts buffering
1832
1832
  * and a call to notifyBufferStop() when content resumes after buffering.
1833
1833
  *
1834
- * @see Item 2: https://srgssr-ch.atlassian.net/browse/PLAY-2628
1834
+ * @see Item 2: https://srgssr-ch.atlassian.net/browse/PLAY-2628
1835
1835
  *
1836
1836
  * After the issue PLAYRTS-321
1837
1837
  * @see Fix: https://srgssr-ch.atlassian.net/browse/PLAYRTS-321?focusedCommentId=201023&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-201023