-
Notifications
You must be signed in to change notification settings - Fork 127
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 #2019 from tf/portrait-inline-video
Allow setting portrait version for inline videos
- Loading branch information
Showing
6 changed files
with
110 additions
and
11 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
entry_types/scrolled/config/locales/new/portrait_inline_video.de.yml
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,18 @@ | ||
de: | ||
pageflow_scrolled: | ||
editor: | ||
content_elements: | ||
inlineVideo: | ||
attributes: | ||
portraitId: | ||
label: Video (Hochkant) | ||
inline_help: | | ||
Wird gezeigt, wenn der Browser-Viewport höher als | ||
breit ist - zum Beispiel auf Smartphones oder Tablets | ||
in Portrait-Ausrichtung. Kann als Alternative zu einem | ||
querformatigen Video konfiguriert werden, um den | ||
verfügbaren Platz besser zu nutzen. | ||
portraitPosterId: | ||
label: Poster (Hochkant) | ||
inline_help: | | ||
Poster-Bild für das alternative Hochkant-Video. |
19 changes: 19 additions & 0 deletions
19
entry_types/scrolled/config/locales/new/portrait_inline_video.en.yml
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,19 @@ | ||
en: | ||
pageflow_scrolled: | ||
editor: | ||
content_elements: | ||
inlineVideo: | ||
attributes: | ||
portraitId: | ||
label: Video (Portrait) | ||
inline_help: | | ||
Displayed when the browser viewport is taller than | ||
wide, for example on phones or tablets in portrait | ||
orientation. Can be used to supply an alternative to a | ||
landscape video that makes better use of the available | ||
space. | ||
portraitPosterId: | ||
label: Poster (Portrait) | ||
inline_help: | | ||
Poster image displayed for the alternative portrait | ||
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
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