hr-design-system-handlebars 1.69.3 → 1.70.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 (81) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +2 -0
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +2 -0
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +2 -0
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +2 -0
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +2 -0
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +2 -0
  15. package/dist/assets/index.css +16 -8
  16. package/dist/views/components/base/a11y/ariaLabelText.hbs +23 -0
  17. package/dist/views/components/button/utilities/button_on_image_classes.hbs +5 -1
  18. package/dist/views/components/content/copytext/components/media/media_figure.hbs +32 -0
  19. package/dist/views/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
  20. package/dist/views/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
  21. package/dist/views/components/content/copytext/components/video/video.hbs +5 -0
  22. package/dist/views/components/content/copytext/components/video/video_element.hbs +15 -0
  23. package/dist/views/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
  24. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  25. package/dist/views/components/label/label.hbs +2 -2
  26. package/dist/views/components/mediaplayer/media_player.hbs +1 -19
  27. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +20 -5
  28. package/dist/views/components/teaser/components/teaser_media_player.hbs +15 -0
  29. package/dist/views_static/components/base/a11y/ariaLabelText.hbs +23 -0
  30. package/dist/views_static/components/button/utilities/button_on_image_classes.hbs +5 -1
  31. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +32 -0
  32. package/dist/views_static/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
  33. package/dist/views_static/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
  34. package/dist/views_static/components/content/copytext/components/video/video.hbs +5 -0
  35. package/dist/views_static/components/content/copytext/components/video/video_element.hbs +15 -0
  36. package/dist/views_static/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
  37. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  38. package/dist/views_static/components/label/label.hbs +2 -2
  39. package/dist/views_static/components/mediaplayer/media_player.hbs +1 -19
  40. package/dist/views_static/components/teaser/components/teaser_av_consumption.hbs +20 -5
  41. package/dist/views_static/components/teaser/components/teaser_media_player.hbs +15 -0
  42. package/package.json +1 -1
  43. package/src/assets/brand/_default/conf/locatags.json +3 -1
  44. package/src/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
  45. package/src/assets/brand/hr/conf/locatags.merged.json +2 -0
  46. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
  47. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
  48. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
  49. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
  50. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
  51. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
  52. package/src/assets/brand/hr1/conf/locatags.merged.json +2 -0
  53. package/src/assets/brand/hr2/conf/locatags.merged.json +2 -0
  54. package/src/assets/brand/hr3/conf/locatags.merged.json +2 -0
  55. package/src/assets/brand/hr4/conf/locatags.merged.json +2 -0
  56. package/src/assets/brand/you-fm/conf/locatags.merged.json +2 -0
  57. package/src/assets/fixtures/content/copytext/copytext_video.json +159 -0
  58. package/src/assets/fixtures/mediaplayer/mediaplayer.json +58 -0
  59. package/src/assets/fixtures/teaser/teaser_labels.inc.json +4 -0
  60. package/src/assets/fixtures/video/videos.inc.json +77 -0
  61. package/src/assets/tailwind.css +5 -5
  62. package/src/stories/views/components/base/a11y/ariaLabelText.hbs +23 -0
  63. package/src/stories/views/components/button/utilities/button_on_image_classes.hbs +5 -1
  64. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +32 -0
  65. package/src/stories/views/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
  66. package/src/stories/views/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
  67. package/src/stories/views/components/content/copytext/components/video/video.hbs +5 -0
  68. package/src/stories/views/components/content/copytext/components/video/video_element.hbs +15 -0
  69. package/src/stories/views/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
  70. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  71. package/src/stories/views/components/content/copytext/copytext.stories.js +7 -0
  72. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -0
  73. package/src/stories/views/components/label/label.hbs +2 -2
  74. package/src/stories/views/components/mediaplayer/fixtures/mediaplayer.json +1 -1
  75. package/src/stories/views/components/mediaplayer/media_player.hbs +1 -19
  76. package/src/stories/views/components/mediaplayer/mediaplayer.stories.js +16 -4
  77. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +20 -5
  78. package/src/stories/views/components/teaser/components/teaser_media_player.hbs +15 -0
  79. package/dist/views/components/content/copytext/components/video.hbs +0 -9
  80. package/dist/views_static/components/content/copytext/components/video.hbs +0 -9
  81. package/src/stories/views/components/content/copytext/components/video.hbs +0 -9
@@ -0,0 +1,35 @@
1
+ <span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if}}'>
2
+ <span class="mx-1">|</span>
3
+ {{~#if this.isAudio}}
4
+ {{~#with this.audioAuthor}}
5
+ {{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
6
+ {{/with}}
7
+ {{~#with this.airdateDate ~}}
8
+ <time datetime="{{this.htmlDate}}">{{this.date}}</time>
9
+ {{~/with~}}
10
+ {{/if}}
11
+
12
+ {{~#if this.isPodcastEpisode}}
13
+ {{~#with this.audioAuthor}}
14
+ {{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
15
+ {{/with}}
16
+ {{~#with this.airdateDate ~}}
17
+ <time datetime="{{this.htmlDate}}">{{this.date}}</time>
18
+ {{~/with~}}
19
+ {{/if}}
20
+
21
+ {{~#if this.isVideo}}
22
+ {{~#with this.copyright}}
23
+ {{this}}{{#if ../this.airdateDate }} <span class="mx-1">|</span>{{/if}}
24
+ {{/with}}
25
+
26
+ {{~#with this.airdateDate ~}}
27
+ {{~#if ../this.airdateWithoutTime ~}}
28
+ <time datetime="{{this.htmlDate}}">{{this.date}}</time>
29
+ {{else}}
30
+ <time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at"
31
+ this.dateSeparatorTime }}</time>
32
+ {{~/if~}}
33
+ {{~/with~}}
34
+ {{/if}}
35
+ </span>
@@ -0,0 +1,14 @@
1
+ <h3 class="mt-1">
2
+ {{> components/base/a11y/ariaLabelText _text=this.content.readMoreScreenreader }}
3
+ <span class="text-lg sm480:text-xl font-headingSerif dark:text-text-dark">
4
+ {{this.content.title}}
5
+ </span>
6
+ {{~#if this.content.isForeignBrand}}
7
+ <span aria-hidden=true class="ml-4">
8
+ [{{this.content.readMore}}
9
+ {{~#if this.hasIcon}}
10
+ {{~> components/base/image/icon _icon=this.iconName _iconmap="icons" _addClass="inline -mt-0.5 ml-1 w-5 h-5 fill-current"~}}
11
+ {{/if~}}]
12
+ </span>
13
+ {{/if~}}
14
+ </h3>
@@ -0,0 +1,5 @@
1
+ {{#if this.showFullSize.isTrue }}
2
+ {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width sm:article-narrow" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
3
+ {{else}}
4
+ {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden article-full-width 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" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
5
+ {{/if}}
@@ -0,0 +1,15 @@
1
+ {{> components/content/copytext/components/video/video_element_ondemand this.toModel.videoElement
2
+ _isSinglePage=_isSinglePage
3
+ _isCopyText=_isCopyText
4
+ _isTeaser=_isTeaser
5
+ _teaser=_teaser
6
+ _poster=_poster
7
+ _geotag=_geotag
8
+ _hideGeotag=_hideGeotag
9
+ _posterImageVariant=_posterImageVariant
10
+ _posterImageType=_posterImageType
11
+ _noDelay=_noDelay
12
+ _cypressHook="js-video-ondemand"
13
+ _mediaButtonIcon="play_button"
14
+ _mediaButtonLabel="Video" }}
15
+
@@ -0,0 +1,23 @@
1
+ <div x-show="avStart" x-cloak id="{{this.ardPlayerConfig.playerId}}" class="ar-16-9 h-full {{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isTeaser}} z-20{{/if}} js-load {{if _cypressHook _cypressHook 'js-media-element'}} js-video-livestream cy-mediaplayer" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
2
+ </div>
3
+ {{#if _isTeaser}}
4
+ <div class="relative flex items-center justify-center ar-16-9" x-show="!avStart" >
5
+ {{#unless _hideGeotag}}
6
+ {{~#with _geotag}}
7
+ {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../_teaserSize _isMobile1to1=../_isMobile1to1}}
8
+ {{/with~}}
9
+ {{/unless}}
10
+ {{#with _teaser}}
11
+ {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
12
+ {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg "ar__content ") _noDelay=this.dontLazyload ~}}
13
+ {{#if this.isTickerTeaser}}</a>
14
+ {{else}}
15
+ {{~> components/base/image/responsive_image this.content.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg "ar__content ") _noDelay=this.dontLazyload ~}}
16
+ {{/if}}
17
+ {{/with}}
18
+
19
+ {{#with this}}
20
+ {{> components/mediaplayer/mediaplayer_button _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=_teaserSize _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}
21
+ {{/with}}
22
+ </div>
23
+ {{/if}}
@@ -43,7 +43,7 @@
43
43
  {{> components/content/copytext/components/podcastepisode }}
44
44
  {{/if~}}
45
45
  {{~#if this.isVideo}}
46
- {{> components/content/copytext/components/video }}
46
+ {{> components/content/copytext/components/video/video }}
47
47
  {{/if~}}
48
48
  {{~#if this.isLivestream}}
49
49
  {{> components/content/copytext/components/livestream }}
@@ -2,8 +2,8 @@
2
2
  class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading{{#if _css}} {{_css}}{{/if}}
3
3
  {{inline-switch
4
4
  _type
5
- '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic"]'
6
- '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment"]'
5
+ '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic","video"]'
6
+ '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment","bg-labelMedia"]'
7
7
  }}'
8
8
  >
9
9
  {{_text}}
@@ -1,20 +1,2 @@
1
- <div{{#if _isTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="ar-16-9 h-full {{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isTeaser}} 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="{{#unless _isAudioView}}ar-16-9 {{/unless}}h-full {{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
2
2
  </div>
3
- {{#if _isTeaser}}
4
- <div class="relative {{_aspectRatio}}" x-show="!avStart" >
5
- {{#unless _hideGeotag}}
6
- {{~#with _geotag}}
7
- {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../_teaserSize _isMobile1to1=../_isMobile1to1}}
8
- {{/with~}}
9
- {{/unless}}
10
- {{#with _teaser}}
11
- {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
12
- {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg "ar__content ") _noDelay=this.dontLazyload ~}}
13
- {{#if this.isTickerTeaser}}</a>{{/if}}
14
- {{/with}}
15
-
16
- {{#with this}}
17
- {{> components/mediaplayer/mediaplayer_button _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=_teaserSize _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}
18
- {{/with}}
19
- </div>
20
- {{/if}}
@@ -1,7 +1,10 @@
1
1
  {{#with this.teaserLead.avDocument}}
2
2
  {{~#if this.isVideo ~}}
3
3
  {{#with this.toModel.videoElement}}
4
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-ondemand-player" _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _isTeaser=true _teaser=../../this _aspectRatio=../../_aspectRatio _teaserSize=../../_teaserSize _isMobile1to1=../../_isMobile1to1 _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType _addClassImg=../../_addClassImg~}}
4
+ {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
5
+ {{#with ../../this}}
6
+ {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio=_aspectRatio}}
7
+ {{/with}}
5
8
  {{#if ../../_isMobile1to1~}}
6
9
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
7
10
  {{~/if~}}
@@ -9,7 +12,10 @@
9
12
  {{~/if~}}
10
13
  {{~#if this.isAudio ~}}
11
14
  {{#with this.toModel.audioElement}}
12
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType _addClassImg=../../_addClassImg~}}
15
+ {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
16
+ {{#with ../../this}}
17
+ {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _aspectRatio=_aspectRatio}}
18
+ {{/with}}
13
19
  {{#if ../../_isMobile1to1~}}
14
20
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
15
21
  {{~/if~}}
@@ -17,7 +23,10 @@
17
23
  {{~/if~}}
18
24
  {{~#if this.isPodcast ~}}
19
25
  {{#with this.toModel.audioElement}}
20
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType _addClassImg=../../_addClassImg~}}
26
+ {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
27
+ {{#with ../../this}}
28
+ {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _aspectRatio=_aspectRatio}}
29
+ {{/with}}
21
30
  {{#if ../../_isMobile1to1~}}
22
31
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
23
32
  {{~/if~}}
@@ -25,7 +34,10 @@
25
34
  {{~/if~}}
26
35
  {{~#if this.isAudioEventLivestream ~}}
27
36
  {{#with this.toModel.audioLivestreamElement}}
28
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-livestream-player" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType _addClassImg=../../_addClassImg~}}
37
+ {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
38
+ {{#with ../../this}}
39
+ {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=_aspectRatio}}
40
+ {{/with}}
29
41
  {{#if ../../_isMobile1to1~}}
30
42
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
31
43
  {{~/if~}}
@@ -33,7 +45,10 @@
33
45
  {{~/if~}}
34
46
  {{~#if this.isLivestream ~}}
35
47
  {{#with this.toModel.videoLivestreamElement}}
36
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-livestream-player" _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream="true" _isTeaser=true _teaser=../../this _audioUrl=../this.audioUrl _variant=../this.imageVariant _noDelay=../../_noDelay _aspectRatio=../../_aspectRatio _isMobile1to1=../../_isMobile1to1 _teaserSize=../../_teaserSize _geotag=../../this.geotag _hideGeotag=../../this.hideGeotag _teaserType=../../_teaserType _addClassImg=../../_addClassImg~}}
48
+ {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
49
+ {{#with ../../this}}
50
+ {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=_aspectRatio}}
51
+ {{/with}}
37
52
  {{#if ../../_isMobile1to1~}}
38
53
  {{> components/teaser/components/teaser_av_consumption_close_button _playerId=this.ardPlayerConfig.playerId }}
39
54
  {{~/if~}}
@@ -0,0 +1,15 @@
1
+ <div class="relative {{_aspectRatio}}" x-show="!avStart" >
2
+ {{#unless this.hideGeotag}}
3
+ {{~#with this.geotag}}
4
+ {{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../this.teaserSize _isMobile1to1=../this.isMobile1to1}}
5
+ {{/with~}}
6
+ {{/unless}}
7
+
8
+ {{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
9
+ {{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault _addClassImg "ar__content ") _noDelay=this.dontLazyload ~}}
10
+ {{#if this.isTickerTeaser}}</a>{{/if}}
11
+
12
+ {{#with this}}
13
+ {{> components/mediaplayer/mediaplayer_button _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
14
+ {{/with}}
15
+ </div>
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
- "version": "1.69.3",
9
+ "version": "1.70.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -160,6 +160,8 @@
160
160
  "ext_service_datapolicy_no_js_text": "An dieser Stelle befindet sich ein von unserer Redaktion empfohlener Inhalt von <b>{0}</b>. Da Sie in Ihrem Browser Javascript deaktiviert haben, kann dieser hier nicht angezeigt werden. Der nachfolgende Link öffnet den Inhalt auf der Seite des Anbieters.",
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
- "story_infobox_outro_sr": "Ende der weiteren Informationen"
163
+ "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags"
164
166
 
165
167
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hessenschau . d e",
165
167
  "meta_application_name": "hessenschau.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr . d e",
165
167
  "meta_application_name": "hr.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-bigband . d e",
165
167
  "meta_application_name": "hr-bigband.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-fernsehen . d e",
165
167
  "meta_application_name": "hr-fernsehen.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-inforadio . d e",
165
167
  "meta_application_name": "hr-inforadio.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
165
167
  "meta_application_name": "hr-rundfunkrat.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
165
167
  "meta_application_name": "hr-sinfonieorchester.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr-werbung . d e",
165
167
  "meta_application_name": "hr-werbung.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr1 . d e",
165
167
  "meta_application_name": "hr1.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr2 . d e",
165
167
  "meta_application_name": "hr2.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr3 . d e",
165
167
  "meta_application_name": "hr3.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite hr4 . d e",
165
167
  "meta_application_name": "hr4.de"
166
168
  }
@@ -161,6 +161,8 @@
161
161
  "ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
162
162
  "story_infobox_intro_sr": "Weitere Informationen",
163
163
  "story_infobox_outro_sr": "Ende der weiteren Informationen",
164
+ "story_video_intro_sr": "Videobeitrag",
165
+ "story_video_outro_sr": "Ende des Videobeitrags",
164
166
  "header_homepage_link_title": "Startseite you-fm . d e",
165
167
  "meta_application_name": "you-fm.de"
166
168
  }
@@ -0,0 +1,159 @@
1
+ {
2
+ "copytextParagraph": [
3
+ {
4
+ "isHeadline": true,
5
+ "text": "Copytext mit Video"
6
+ },
7
+ {
8
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
9
+ },
10
+ {
11
+ "paragraphBoxItem": {
12
+
13
+ "isVideo": true,
14
+ "showFullSize": {
15
+ "isTrue": true
16
+ },
17
+ "label": {
18
+ "type": "video",
19
+ "loca": "label_video",
20
+ "byline": {
21
+ "bylineText": "03:20 Min."
22
+ }
23
+ },
24
+ "copyright": "hessenschau",
25
+ "airdateDate": {
26
+ "htmlDateTime": "2022-10-31T19:30+0200",
27
+ "htmlDate": "31.10.2022",
28
+ "date": "31.10.22",
29
+ "dateSeparatorTime": "31.10.22, 19:30"
30
+ },
31
+ "toModel": {
32
+ "videoElement": {
33
+ "ardPlayerConfig": {
34
+ "@->jsoninclude": "video/videos.inc.json",
35
+ "@->contentpath": "video-1"
36
+ },
37
+ "ardPlayerJsonConfig": {
38
+ "@->jsoninclude": "video/videos.inc.json",
39
+ "@->contentpath": "video-1"
40
+ }
41
+ },
42
+ "mediaBacklinkToStoryTeaser": {
43
+ "link": {
44
+ "url": "/videoseite",
45
+ "isTargetBlank": false
46
+ },
47
+ "content":{
48
+ "readMoreScreenreader": "zum hr3.de Video",
49
+ "title":"Musik macht deinen Tag",
50
+ "isForeignBrand": true,
51
+ "readMore": "zum hr3.de Videoseite"
52
+ },
53
+ "hasIcon": true,
54
+ "iconName": "extern"
55
+ }
56
+ },
57
+ "teaseritem": {
58
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
59
+ "@->contentpath": "copytext_image_100",
60
+ "@->replaceToken": [
61
+ {
62
+ "@->token": "image",
63
+ "@->value": "lehrerin-ukraine-104"
64
+ }
65
+ ]
66
+ },
67
+ "content":{
68
+ "teaserImage": {
69
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
70
+ "@->contentpath": "copytext_image_100",
71
+ "@->replaceToken": [
72
+ {
73
+ "@->token": "image",
74
+ "@->value": "lehrerin-ukraine-104"
75
+ }
76
+ ]
77
+ }
78
+ }
79
+ }
80
+ },
81
+ {
82
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
83
+ },
84
+ {
85
+ "paragraphBoxItem": {
86
+
87
+ "isVideo": true,
88
+ "showFullSize": {
89
+ "isTrue": false
90
+ },
91
+ "label": {
92
+ "type": "video",
93
+ "loca": "label_video",
94
+ "byline": {
95
+ "bylineText": "03:20 Min."
96
+ }
97
+ },
98
+ "copyright": "hessenschau",
99
+ "airdateDate": {
100
+ "htmlDateTime": "2022-10-31T19:30+0200",
101
+ "htmlDate": "31.10.2022",
102
+ "date": "31.10.22",
103
+ "dateSeparatorTime": "31.10.22, 19:30"
104
+ },
105
+ "toModel": {
106
+ "videoElement": {
107
+ "ardPlayerConfig": {
108
+ "@->jsoninclude": "video/videos.inc.json",
109
+ "@->contentpath": "video-2"
110
+ },
111
+ "ardPlayerJsonConfig": {
112
+ "@->jsoninclude": "video/videos.inc.json",
113
+ "@->contentpath": "video-2"
114
+ }
115
+ },
116
+ "mediaBacklinkToStoryTeaser": {
117
+ "link": {
118
+ "url": "/videoseite",
119
+ "isTargetBlank": false
120
+ },
121
+ "content":{
122
+ "readMoreScreenreader": "zum hr3.de Video",
123
+ "title":"Musik macht deinen Tag",
124
+ "isForeignBrand": false,
125
+ "readMore": "zum hr3.de Videoseite"
126
+ },
127
+ "hasIcon": true,
128
+ "iconName": "extern"
129
+ }
130
+ },
131
+ "teaseritem": {
132
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
133
+ "@->contentpath": "copytext_image_50",
134
+ "@->replaceToken": [
135
+ {
136
+ "@->token": "image",
137
+ "@->value": "lehrerin-ukraine-104"
138
+ }
139
+ ]
140
+ },
141
+ "content":{
142
+ "teaserImage": {
143
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
144
+ "@->contentpath": "copytext_image_50",
145
+ "@->replaceToken": [
146
+ {
147
+ "@->token": "image",
148
+ "@->value": "lehrerin-ukraine-104"
149
+ }
150
+ ]
151
+ }
152
+ }
153
+ }
154
+ },
155
+ {
156
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
157
+ }
158
+ ]
159
+ }
@@ -48,5 +48,63 @@
48
48
  ]
49
49
  }
50
50
 
51
+ },
52
+ "audio":{
53
+ "ardPlayerConfig": {
54
+ "@->jsoninclude": "audio/audios.inc.json",
55
+ "@->contentpath": "audio-1"
56
+ },
57
+ "ardPlayerJsonConfig": {
58
+ "@->jsoninclude": "audio/audios.inc.json",
59
+ "@->contentpath": "audio-1",
60
+ "@->overrides": [
61
+ {
62
+ "@->contentpath": "playerConfig.web.isForcedVideoView",
63
+ "@->value": false
64
+ },
65
+ {
66
+ "@->contentpath": "playerConfig.web.isForcedAutoplay",
67
+ "@->value": false
68
+ },
69
+ {
70
+ "@->contentpath": "playerConfig.generic.isAutoplay",
71
+ "@->value": false
72
+ },
73
+ {
74
+ "@->contentpath": "isAutoplay",
75
+ "@->value": false
76
+ }
77
+ ]
78
+ }
79
+
80
+ },
81
+ "audio_event_livestream":{
82
+ "ardPlayerConfig": {
83
+ "@->jsoninclude": "audio/audios.inc.json",
84
+ "@->contentpath": "audio-event-livestream"
85
+ },
86
+ "ardPlayerJsonConfig": {
87
+ "@->jsoninclude": "audio/audios.inc.json",
88
+ "@->contentpath": "audio-event-livestream",
89
+ "@->overrides": [
90
+ {
91
+ "@->contentpath": "playerConfig.web.isForcedVideoView",
92
+ "@->value": false
93
+ },
94
+ {
95
+ "@->contentpath": "playerConfig.web.isForcedAutoplay",
96
+ "@->value": false
97
+ },
98
+ {
99
+ "@->contentpath": "playerConfig.generic.isAutoplay",
100
+ "@->value": false
101
+ },
102
+ {
103
+ "@->contentpath": "isAutoplay",
104
+ "@->value": false
105
+ }
106
+ ]
107
+ }
108
+
51
109
  }
52
110
  }
@@ -124,5 +124,9 @@
124
124
  "glosse": {
125
125
  "type": "glosse",
126
126
  "loca": "label_glosse"
127
+ },
128
+ "video": {
129
+ "type": "video",
130
+ "loca": "label_video"
127
131
  }
128
132
  }