hr-design-system-handlebars 1.87.2 → 1.88.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.
Files changed (75) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +2 -1
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +2 -1
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +2 -1
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -1
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -1
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -1
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -1
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +2 -1
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +2 -1
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +2 -1
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +2 -1
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +2 -1
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +2 -1
  15. package/dist/assets/index.css +14 -6
  16. package/dist/assets/js/components/event/filtererDs.feature.js +36 -4
  17. package/dist/assets/js/components/mediaplayer/ardPlayerLoader.subfeature.js +43 -5
  18. package/dist/assets/js/components/mediaplayer/mediaplayerLoader.feature.js +3 -3
  19. package/dist/views/components/content/copytext/components/audio.hbs +2 -2
  20. package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  21. package/dist/views/components/content/copytext/components/media/media_figure.hbs +10 -6
  22. package/dist/views/components/content/copytext/components/video/video.hbs +2 -2
  23. package/dist/views/components/content/copytext/components/videolivestream.hbs +2 -2
  24. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  25. package/dist/views/components/event/calendar/event_calendar_nav.hbs +2 -2
  26. package/dist/views/components/mediaplayer/media_player.hbs +1 -1
  27. package/dist/views/components/mediaplayer/mediaplayer_button.hbs +1 -1
  28. package/dist/views/components/page/story/story_article.hbs +2 -2
  29. package/dist/views/components/podcast/components/podcast_player_ui.hbs +1 -1
  30. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  31. package/dist/views/components/teaser/components/teaser_media_player.hbs +1 -1
  32. package/dist/views_static/components/content/copytext/components/audio.hbs +2 -2
  33. package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  34. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +10 -6
  35. package/dist/views_static/components/content/copytext/components/video/video.hbs +2 -2
  36. package/dist/views_static/components/content/copytext/components/videolivestream.hbs +2 -2
  37. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  38. package/dist/views_static/components/event/calendar/event_calendar_nav.hbs +2 -2
  39. package/dist/views_static/components/mediaplayer/media_player.hbs +1 -1
  40. package/dist/views_static/components/mediaplayer/mediaplayer_button.hbs +1 -1
  41. package/dist/views_static/components/page/story/story_article.hbs +2 -2
  42. package/dist/views_static/components/podcast/components/podcast_player_ui.hbs +1 -1
  43. package/dist/views_static/components/teaser/components/teaser_av_consumption.hbs +5 -5
  44. package/dist/views_static/components/teaser/components/teaser_media_player.hbs +1 -1
  45. package/package.json +1 -1
  46. package/src/assets/brand/_default/conf/locatags.json +2 -1
  47. package/src/assets/brand/hessenschau/conf/locatags.merged.json +2 -1
  48. package/src/assets/brand/hr/conf/locatags.merged.json +2 -1
  49. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +2 -1
  50. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -1
  51. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -1
  52. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -1
  53. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -1
  54. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +2 -1
  55. package/src/assets/brand/hr1/conf/locatags.merged.json +2 -1
  56. package/src/assets/brand/hr2/conf/locatags.merged.json +2 -1
  57. package/src/assets/brand/hr3/conf/locatags.merged.json +2 -1
  58. package/src/assets/brand/hr4/conf/locatags.merged.json +2 -1
  59. package/src/assets/brand/you-fm/conf/locatags.merged.json +2 -1
  60. package/src/stories/views/components/content/copytext/components/audio.hbs +2 -2
  61. package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  62. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +10 -6
  63. package/src/stories/views/components/content/copytext/components/video/video.hbs +2 -2
  64. package/src/stories/views/components/content/copytext/components/videolivestream.hbs +2 -2
  65. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  66. package/src/stories/views/components/event/calendar/event_calendar_nav.hbs +2 -2
  67. package/src/stories/views/components/event/filtererDs.feature.js +36 -4
  68. package/src/stories/views/components/mediaplayer/ardPlayerLoader.subfeature.js +43 -5
  69. package/src/stories/views/components/mediaplayer/media_player.hbs +1 -1
  70. package/src/stories/views/components/mediaplayer/mediaplayerLoader.feature.js +3 -3
  71. package/src/stories/views/components/mediaplayer/mediaplayer_button.hbs +1 -1
  72. package/src/stories/views/components/page/story/story_article.hbs +2 -2
  73. package/src/stories/views/components/podcast/components/podcast_player_ui.hbs +1 -1
  74. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  75. package/src/stories/views/components/teaser/components/teaser_media_player.hbs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.88.1 (Fri Aug 02 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-3121 Monats-Übersicht im Eventkalender [#1037](https://github.com/mumprod/hr-design-system-handlebars/pull/1037) ([@Sunny1112358](https://github.com/Sunny1112358))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@Sunny1112358](https://github.com/Sunny1112358)
10
+
11
+ ---
12
+
13
+ # v1.88.0 (Thu Aug 01 2024)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - Bug/dpe 3277 [#1036](https://github.com/mumprod/hr-design-system-handlebars/pull/1036) ([@szuelch](https://github.com/szuelch))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@szuelch](https://github.com/szuelch)
22
+
23
+ ---
24
+
1
25
  # v1.87.2 (Mon Jul 29 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -1687,6 +1687,9 @@ article.indexTextDS .indexTextHighlighted .link {
1687
1687
  .w-15\/12 {
1688
1688
  width: 120%;
1689
1689
  }
1690
+ .w-16 {
1691
+ width: 4rem;
1692
+ }
1690
1693
  .w-2 {
1691
1694
  width: 0.5rem;
1692
1695
  }
@@ -1699,9 +1702,6 @@ article.indexTextDS .indexTextHighlighted .link {
1699
1702
  .w-22 {
1700
1703
  width: 5.5rem;
1701
1704
  }
1702
- .w-24 {
1703
- width: 6rem;
1704
- }
1705
1705
  .w-3 {
1706
1706
  width: 0.75rem;
1707
1707
  }
@@ -2323,6 +2323,10 @@ article.indexTextDS .indexTextHighlighted .link {
2323
2323
  --tw-bg-opacity: 1;
2324
2324
  background-color: rgba(227, 227, 227, var(--tw-bg-opacity));
2325
2325
  }
2326
+ .bg-black {
2327
+ --tw-bg-opacity: 1;
2328
+ background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
2329
+ }
2326
2330
  .bg-black\/\[0\.5\] {
2327
2331
  background-color: rgba(0, 0, 0, 0.5);
2328
2332
  }
@@ -3089,6 +3093,10 @@ article.indexTextDS .indexTextHighlighted .link {
3089
3093
  color: #606060;
3090
3094
  color: var(--color-secondary-ds);
3091
3095
  }
3096
+ .text-slate-500 {
3097
+ --tw-text-opacity: 1;
3098
+ color: rgba(100, 116, 139, var(--tw-text-opacity));
3099
+ }
3092
3100
  .text-stageLink {
3093
3101
  color: #006eb7;
3094
3102
  color: var(--color-stage-link);
@@ -3319,7 +3327,7 @@ article.indexTextDS .indexTextHighlighted .link {
3319
3327
  border-bottom-color: var(--color-secondary-ds);
3320
3328
  }
3321
3329
  .counter-reset {
3322
- counter-reset: cnt1722256576841;
3330
+ counter-reset: cnt1722602731623;
3323
3331
  }
3324
3332
  .hyphens-auto {
3325
3333
  -webkit-hyphens: auto;
@@ -3727,7 +3735,7 @@ article.indexTextDS .indexTextHighlighted .link {
3727
3735
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3728
3736
  }
3729
3737
  .-ordered {
3730
- counter-increment: cnt1722256576841 1;
3738
+ counter-increment: cnt1722602731623 1;
3731
3739
  }
3732
3740
  .-ordered::before {
3733
3741
  position: absolute;
@@ -3743,7 +3751,7 @@ article.indexTextDS .indexTextHighlighted .link {
3743
3751
  letter-spacing: .0125em;
3744
3752
  --tw-text-opacity: 1;
3745
3753
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3746
- content: counter(cnt1722256576841);
3754
+ content: counter(cnt1722602731623);
3747
3755
  }
3748
3756
  /*! ****************************/
3749
3757
  /*! DataPolicy stuff */
@@ -1,3 +1,4 @@
1
+ import { color } from '@storybook/theming'
1
2
  import { pi, uxAction } from 'base/tracking/pianoHelper.subfeature'
2
3
  import { hr$, isString, listen, reinitializeFeature, simulateClickOn } from 'hrQuery'
3
4
  import $ from 'zepto-modules'
@@ -22,9 +23,14 @@ const Filterer = (context) => {
22
23
  errorTargetDomNodes = hr$(`.${errorTargetClass}`, rootElement),
23
24
  errorDomNodes = hr$(`.${errorClass}`),
24
25
  contentTargetDomNode = hr$(contentTargetClass, rootElement)[0]
25
- let targetDomNodes = hr$(`.${targetClass}`, rootElement)
26
+ let targetDomNodes = hr$(`.${targetClass}`, rootElement),
27
+ currentMonth = document.getElementsByClassName('-currentMonth')[0];
28
+
29
+ const init = function () {
30
+ currentMonth.classList.add('text-white');
31
+ currentMonth.classList.add('bg-black');
32
+
26
33
 
27
- const init = function () {
28
34
  for (let i = 0; i < triggerDomNodes.length; i++) {
29
35
  triggerDomNodes[i].addEventListener('click', doSetSelectedFilter.bind(this))
30
36
  triggerDomNodes[i].addEventListener('touch', doSetSelectedFilter.bind(this))
@@ -68,9 +74,22 @@ const Filterer = (context) => {
68
74
 
69
75
  const doSetSelectedFilter = function (e, forceReset) {
70
76
  clearSelected()
71
-
77
+
78
+
79
+ let monthWrapper = e.currentTarget.closest('.js-ns-month');
80
+ let monthName = monthWrapper.querySelector('.js-monthName');
81
+
72
82
  if (!forceReset) {
73
- e.currentTarget.classList.add(navItemSelectedCssTrigger)
83
+ e.currentTarget.classList.add(navItemSelectedCssTrigger)
84
+ if (monthWrapper) {
85
+
86
+ if (monthName) {
87
+ monthName.classList.remove('text-slate-500')
88
+ monthName.classList.remove('bg-white')
89
+ monthName.classList.add('text-white');
90
+ monthName.classList.add('bg-black');
91
+ }
92
+ }
74
93
  }
75
94
 
76
95
  //hacky weil e beim start auch kein Event sein kann
@@ -82,7 +101,20 @@ const Filterer = (context) => {
82
101
  const clearSelected = function () {
83
102
  let triggerDomNodes = hr$(`.${triggerClass}.${navItemSelectedCssTrigger}`, rootElement)
84
103
 
104
+ // hacky die würde bald verändert
105
+ currentMonth.classList.remove('text-white');
106
+ currentMonth.classList.remove('bg-black');
107
+ currentMonth.classList.add('text-slate-500');
108
+ currentMonth.classList.add('bg-white');
109
+
110
+
85
111
  triggerDomNodes.forEach(function (triggerDomNode) {
112
+
113
+ // hacky die würde bald verändert
114
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.remove('text-white');
115
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.remove('bg-black');
116
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.add('text-slate-500');
117
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.add('bg-white');
86
118
  triggerDomNode.classList.remove(navItemSelectedCssTrigger)
87
119
  })
88
120
  }
@@ -1,17 +1,22 @@
1
1
  import { fireEvent, hr$, listen, loadScript } from 'hrQuery'
2
+ import { uxAction } from 'base/tracking/pianoHelper.subfeature'
2
3
  import SettingsCookie from 'components/externalService/globalSettingsCookie.subfeature'
3
4
 
4
- const ArdPlayerLoader = function (options, rootElement) {
5
+ const ArdPlayerLoader = function (options, trackingData, rootElement) {
5
6
  'use strict'
6
7
 
7
8
  const skinPath = options.cssUrl,
8
9
  ardplayerUrl = options.jsUrl,
9
10
  smarttagUrl = options.atiSmarttagUrl,
10
11
  playerId = options.playerId,
12
+ type = options.type,
11
13
  settingsCookie = new SettingsCookie(),
12
- isPlayerDebug = options.isPlayerDebug || false
14
+ isPlayerDebug = options.isPlayerDebug || false,
15
+ playerLocation = trackingData.playerLocation || "Default",
16
+ playerSize = trackingData.playerSize || options.teaserSize
13
17
  let mediaCollection = options.mediaCollection,
14
18
  playerConfig = options.playerConfig,
19
+ isPlayerStarted = false,
15
20
  player
16
21
 
17
22
  const setupPlayer = function () {
@@ -76,7 +81,13 @@ const ArdPlayerLoader = function (options, rootElement) {
76
81
 
77
82
  const bindPlayerEvents = function () {
78
83
  player.$.on(ardplayer.Player.EVENT_PLAY_STREAM, function (event) {
84
+ console.log(event.target)
85
+ console.debug(`options.teaserSize: ${options.teaserSize}`)
79
86
  const geotag = hr$('.js-geotag', rootElement)[0]
87
+ if (!isPlayerStarted) {
88
+ trackPlayerStart()
89
+ isPlayerStarted = true
90
+ }
80
91
  if (typeof geotag != 'undefined') {
81
92
  geotag.classList.add('hide')
82
93
  }
@@ -105,15 +116,42 @@ const ArdPlayerLoader = function (options, rootElement) {
105
116
 
106
117
  listen('player_start', function (event) {
107
118
  if (player) {
108
- if (undefined != mediaCollection.live) {
109
- player.seekToLive()
119
+ let playerIdFromConfig = parseInt(playerId)
120
+ playerIdFromConfig = isNaN(playerIdFromConfig) ? 0 : playerIdFromConfig
121
+ if (playerIdFromConfig === event.detail.playerId) {
122
+ if (undefined != mediaCollection.live) {
123
+ player.seekToLive()
124
+ }
125
+ player.play()
110
126
  }
111
- player.play()
112
127
  }
113
128
  })
114
129
  }
115
130
 
131
+ const trackPlayerStart = function () {
132
+ switch (type) {
133
+ case "audioOndemand":
134
+ console.debug(`Playbutton geklickt::Audio \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
135
+ uxAction(`Playbutton geklickt::Audio \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
136
+ break;
137
+ case "audioLivestream":
138
+ console.debug(`Playbutton geklickt::Audio-Event-Livestream \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
139
+ uxAction(`Playbutton geklickt::Audio-Event-Livestream \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
140
+ break;
141
+ case "videoOndemand":
142
+ console.debug(`Playbutton geklickt::Video \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
143
+ uxAction(`Playbutton geklickt::Video \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
144
+ break;
145
+ case "videoLivestream":
146
+ console.debug(`Playbutton geklickt::Video - Livestream \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
147
+ uxAction(`Playbutton geklickt::Video - Livestream \"${mediaCollection.meta.title}\"::${playerLocation}::Breite ${playerSize}`)
148
+ break;
149
+ }
150
+ }
151
+
116
152
  setupPlayer()
117
153
  }
118
154
 
155
+
156
+
119
157
  export default ArdPlayerLoader
@@ -9,7 +9,8 @@ const MediaplayerLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  isAutoplay = options.isAutoplay,
11
11
  teaserSize = options.teaserSize,
12
- mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
12
+ mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0],
13
+ trackingData = rootElement.dataset.mediaplayerTracking ? JSON.parse(rootElement.dataset.mediaplayerTracking) : {}
13
14
 
14
15
  const removeVideoHover = function () {
15
16
  rootElement.parentNode.parentNode.classList.remove('-imageHover')
@@ -17,9 +18,8 @@ const MediaplayerLoader = function (context) {
17
18
  }
18
19
 
19
20
  const loadArdPlayerLoader = function () {
20
- new ArdPlayerLoader(options)
21
+ new ArdPlayerLoader(options, trackingData)
21
22
  removeVideoHover()
22
- uxAction('mediabuttonclick::' + teaserSize + '::playButtonClick')
23
23
  }
24
24
 
25
25
  if (isAutoplay) {
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -21,18 +21,22 @@
21
21
  </div>
22
22
  {{/unless}}
23
23
  {{#if this.isAudioOnDemand}}
24
- {{~> components/mediaplayer/media_player this.toModel.audioElement _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
24
+ {{~> components/mediaplayer/media_player this.toModel.audioElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
25
25
  {{/if}}
26
26
  {{#if this.isAudioEventLivestream}}
27
- {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
27
+ {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
28
28
  {{/if}}
29
29
  {{#if this.isVideoOnDemand}}
30
- {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
31
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=_isLead }}
30
+ {{#with this.toModel.videoElement}}
31
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
32
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
33
+ {{/with}}
32
34
  {{/if}}
33
35
  {{#if this.isLivestream}}
34
- {{~> components/mediaplayer/media_player this.toModel.videoLivestreamElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
35
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLivestream=true _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=_isLead }}
36
+ {{#with this.toModel.videoLivestreamElement}}
37
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
38
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLivestream=true _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
39
+ {{/with}}
36
40
  {{/if}}
37
41
  {{#unless _voting-option}}
38
42
  {{#if this.teaseritem}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,6 +1,6 @@
1
1
  <div class="mt-2 contents sm:block copytextWrapper">
2
2
  {{~#with this.leadAudio }}
3
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
4
  {{~/with}}
5
5
  {{#each this.copytextParagraph }}
6
6
  {{~> components/content/copytext/copytext_body _isWebview=../_isWebview ~}}
@@ -9,9 +9,9 @@
9
9
  <div class="flex mb-0 overflow-x-auto overflow-y-hidden whitespace-nowrap scroll-smooth js-ns-scroll -horizontal">
10
10
  {{#each this}}
11
11
  <div class="inline-block items-center justify-center border-event-calendar-secondary border-l js-ns-month {{#if
12
- this.isCurrentMonth}} -currentMonth{{/if}}{{#if
13
12
  this.hasFutureEventsFromNow}} -selected{{else}} js-fr-reload-trigger{{/if}}">
14
- <span class="block font-heading font-bold w-24 sticky left-0 px-2 py-3">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
13
+ <span class="js-monthName block font-heading font-bold w-16 sticky left-0 px-2 py-3 {{#if
14
+ this.isCurrentMonth}} -currentMonth{{else}}text-slate-500{{/if}}">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
15
15
  <ul class="flex">
16
16
  {{#each this.days}}
17
17
  <li class="inline-block h-full group cursor-pointer js-ns-item{{#if
@@ -1,2 +1,2 @@
1
- <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#if _isAudioView}}ar-4-1 !h-auto{{else}}ar-16-9 h-full{{/if}}{{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
1
+ <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#if _isAudioView}}ar-4-1 !h-auto{{else}}ar-16-9 h-full{{/if}}{{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-mediaplayer-tracking='{"playerLocation": "{{_playerLocation}}","playerSize": "{{if _playerSize _playerSize ""}}" }' data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
2
2
  </div>
@@ -1,5 +1,5 @@
1
1
  {{#with this}}
2
- {{#> components/button/button _variant="icon-button" _type="button" _css=_css _alpineClick="avStart = !avStart; $dispatch('player_start')"}}
2
+ {{#> components/button/button _variant="icon-button" _type="button" _css=_css _alpineClick=(loca "mediaplayer_play_button_alpine_click" _playerId)}}
3
3
  {{#with this}}
4
4
  {{> components/base/image/icon _addClass=(appendToDefault (if ../../_isLivestream-adjust_context "text-media-button-live group-hover:fill-media-button-live" "text-media-button group-hover:fill-media-button") "fill-white group-hover:text-white inline ") _icon=../../_icon-adjust_context}}
5
5
  {{#*inline "css"}} {{~#if ../../_isLead-adjust_context~}} md:w-18 md:h-18 w-10 h-10 {{else}} w-10 h-10 {{/if}} {{/inline}}
@@ -20,10 +20,10 @@
20
20
  _noDelay=true}}
21
21
  {{/if}}
22
22
  {{#if this.isVideoOnDemand}}
23
- {{> components/content/copytext/components/media/media_figure _isLead=true _fullSize=true _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
23
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Aufmacher" _isLead=true _playerSize="100" _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
24
24
  {{/if}}
25
25
  {{#if this.isLivestream}}
26
- {{> components/content/copytext/components/media/media_figure _isLead=true _fullSize=true _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
26
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Aufmacher" _isLead=true _playerSize="100" _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
27
27
  {{/if}}
28
28
  {{/with}}
29
29
  {{/unless}}
@@ -7,7 +7,7 @@
7
7
  {{> components/podcast/components/podcast_playbutton
8
8
  _css="mr-4"
9
9
  _id = _id
10
- _alpineClick=(loca "play_button_alpine_click" _id) }}
10
+ _alpineClick=(loca "podcastplayer_play_button_alpine_click" _id) }}
11
11
  </div>
12
12
 
13
13
  <div class="flex flex-wrap items-start w-full -mt-0.5">
@@ -1,7 +1,7 @@
1
1
  {{#with this.teaserLead.avDocument}}
2
2
  {{~#if this.isVideoOnDemand ~}}
3
3
  {{#with this.toModel.videoElement}}
4
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
4
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
5
5
  {{#with ../../this}}
6
6
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio=../../_aspectRatio-adjust_context _addClassImg=../../_addClassImg-adjust_context _noDelay=this.dontLazyload}}
7
7
  {{/with}}
@@ -12,7 +12,7 @@
12
12
  {{~/if~}}
13
13
  {{~#if this.isAudioOnDemand ~}}
14
14
  {{#with this.toModel.audioElementForVideoView}}
15
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
15
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
16
16
  {{#with ../../this}}
17
17
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _aspectRatio=../../_aspectRatio-adjust_context _addClassImg=../../_addClassImg-adjust_context _noDelay=this.dontLazyload}}
18
18
  {{/with}}
@@ -23,7 +23,7 @@
23
23
  {{~/if~}}
24
24
  {{~#if this.isPodcast ~}}
25
25
  {{#with this.toModel.audioElementForVideoView}}
26
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
26
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
27
27
  {{#with ../../this}}
28
28
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _aspectRatio=../../_aspectRatio-adjust_context _addClassImg=../../_addClassImg-adjust_context _noDelay=this.dontLazyload}}
29
29
  {{/with}}
@@ -34,7 +34,7 @@
34
34
  {{~/if~}}
35
35
  {{~#if this.isAudioEventLivestream ~}}
36
36
  {{#with this.toModel.audioLivestreamElementForVideoView}}
37
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
37
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
38
38
  {{#with ../../this}}
39
39
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=../../_aspectRatio-adjust_context _addClassImg=../../_addClassImg-adjust_context _noDelay=this.dontLazyload}}
40
40
  {{/with}}
@@ -45,7 +45,7 @@
45
45
  {{~/if~}}
46
46
  {{~#if this.isLivestream ~}}
47
47
  {{#with this.toModel.videoLivestreamElement}}
48
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
48
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-video-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
49
49
  {{#with ../../this}}
50
50
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=../../_aspectRatio-adjust_context _addClassImg=../../_addClassImg-adjust_context _noDelay=this.dontLazyload}}
51
51
  {{/with}}
@@ -14,6 +14,6 @@
14
14
 
15
15
 
16
16
  {{#with this}}
17
- {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _isLead=_isLead _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
17
+ {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _playerId=_playerId _isLead=_isLead _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
18
  {{/with}}
19
19
  </div>