-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #928 from mumprod/DPE-3023
DPE-323: add copytext-video component
- Loading branch information
Showing
30 changed files
with
432 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
159 changes: 159 additions & 0 deletions
159
src/assets/fixtures/content/copytext/copytext_video.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
{ | ||
"copytextParagraph": [ | ||
{ | ||
"isHeadline": true, | ||
"text": "Copytext mit Video" | ||
}, | ||
{ | ||
"@->jsoninclude": "content/copytext/copytext_paragraph.inc.json" | ||
}, | ||
{ | ||
"paragraphBoxItem": { | ||
|
||
"isVideo": true, | ||
"showFullSize": { | ||
"isTrue": true | ||
}, | ||
"label": { | ||
"type": "video", | ||
"loca": "label_video", | ||
"byline": { | ||
"bylineText": "03:20 Min." | ||
} | ||
}, | ||
"copyright": "hessenschau", | ||
"airdateDate": { | ||
"htmlDateTime": "2022-10-31T19:30+0200", | ||
"htmlDate": "31.10.2022", | ||
"date": "31.10.22", | ||
"dateSeparatorTime": "31.10.22, 19:30" | ||
}, | ||
"toModel": { | ||
"videoElement": { | ||
"ardPlayerConfig": { | ||
"@->jsoninclude": "video/videos.inc.json", | ||
"@->contentpath": "video-1" | ||
}, | ||
"ardPlayerJsonConfig": { | ||
"@->jsoninclude": "video/videos.inc.json", | ||
"@->contentpath": "video-1" | ||
} | ||
}, | ||
"mediaBacklinkToStoryTeaser": { | ||
"link": { | ||
"url": "/videoseite", | ||
"isTargetBlank": false | ||
}, | ||
"content":{ | ||
"readMoreScreenreader": "zum hr3.de Video", | ||
"title":"Musik macht deinen Tag", | ||
"isForeignBrand": true, | ||
"readMore": "zum hr3.de Videoseite" | ||
}, | ||
"hasIcon": true, | ||
"iconName": "extern" | ||
} | ||
}, | ||
"teaseritem": { | ||
"@->jsoninclude": "teaser/teaser_images.inc.json", | ||
"@->contentpath": "copytext_image_100", | ||
"@->replaceToken": [ | ||
{ | ||
"@->token": "image", | ||
"@->value": "lehrerin-ukraine-104" | ||
} | ||
] | ||
}, | ||
"content":{ | ||
"teaserImage": { | ||
"@->jsoninclude": "teaser/teaser_images.inc.json", | ||
"@->contentpath": "copytext_image_100", | ||
"@->replaceToken": [ | ||
{ | ||
"@->token": "image", | ||
"@->value": "lehrerin-ukraine-104" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"@->jsoninclude": "content/copytext/copytext_paragraph.inc.json" | ||
}, | ||
{ | ||
"paragraphBoxItem": { | ||
|
||
"isVideo": true, | ||
"showFullSize": { | ||
"isTrue": false | ||
}, | ||
"label": { | ||
"type": "video", | ||
"loca": "label_video", | ||
"byline": { | ||
"bylineText": "03:20 Min." | ||
} | ||
}, | ||
"copyright": "hessenschau", | ||
"airdateDate": { | ||
"htmlDateTime": "2022-10-31T19:30+0200", | ||
"htmlDate": "31.10.2022", | ||
"date": "31.10.22", | ||
"dateSeparatorTime": "31.10.22, 19:30" | ||
}, | ||
"toModel": { | ||
"videoElement": { | ||
"ardPlayerConfig": { | ||
"@->jsoninclude": "video/videos.inc.json", | ||
"@->contentpath": "video-2" | ||
}, | ||
"ardPlayerJsonConfig": { | ||
"@->jsoninclude": "video/videos.inc.json", | ||
"@->contentpath": "video-2" | ||
} | ||
}, | ||
"mediaBacklinkToStoryTeaser": { | ||
"link": { | ||
"url": "/videoseite", | ||
"isTargetBlank": false | ||
}, | ||
"content":{ | ||
"readMoreScreenreader": "zum hr3.de Video", | ||
"title":"Musik macht deinen Tag", | ||
"isForeignBrand": false, | ||
"readMore": "zum hr3.de Videoseite" | ||
}, | ||
"hasIcon": true, | ||
"iconName": "extern" | ||
} | ||
}, | ||
"teaseritem": { | ||
"@->jsoninclude": "teaser/teaser_images.inc.json", | ||
"@->contentpath": "copytext_image_50", | ||
"@->replaceToken": [ | ||
{ | ||
"@->token": "image", | ||
"@->value": "lehrerin-ukraine-104" | ||
} | ||
] | ||
}, | ||
"content":{ | ||
"teaserImage": { | ||
"@->jsoninclude": "teaser/teaser_images.inc.json", | ||
"@->contentpath": "copytext_image_50", | ||
"@->replaceToken": [ | ||
{ | ||
"@->token": "image", | ||
"@->value": "lehrerin-ukraine-104" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"@->jsoninclude": "content/copytext/copytext_paragraph.inc.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,5 +124,9 @@ | |
"glosse": { | ||
"type": "glosse", | ||
"loca": "label_glosse" | ||
}, | ||
"video": { | ||
"type": "video", | ||
"loca": "label_video" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.