-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Work around for strange bug in Fusion
- Loading branch information
Showing
3 changed files
with
13 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Video) < prototype(Neos.F | |
configuration = ${Configuration.setting('Jonnitto.PrettyEmbedVideoPlatforms')} | ||
|
||
// This can used as alternative preview | ||
content = null | ||
content = ${null} | ||
|
||
live = true | ||
platform = null | ||
videoID = null | ||
platform = ${null} | ||
videoID = ${null} | ||
[email protected] = ${Type.isString(value) ? String.trim(value) : value} | ||
|
||
lightbox = ${this.configuration.defaults.lightbox} | ||
|
@@ -23,25 +23,25 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Video) < prototype(Neos.F | |
gdprMessage = Jonnitto.PrettyEmbedHelper:GdprMessage | ||
|
||
// Pass a ratio like this: ${16 / 9} | ||
ratio = null | ||
ratio = ${null} | ||
|
||
// If true, this get only a value if ratio is not set | ||
force16to9 = ${this.configuration.defaults.force16to9} | ||
[email protected] = ${value ? (16 / 9) : false} | ||
|
||
wrapper = ${Configuration.setting('Jonnitto.PrettyEmbedHelper.wrapper')} | ||
|
||
id = null | ||
id = ${null} | ||
|
||
poster = null | ||
poster2x = null | ||
alternativeText = null | ||
origin = null | ||
poster = ${null} | ||
poster2x = ${null} | ||
alternativeText = ${null} | ||
origin = ${null} | ||
|
||
playButton = Jonnitto.PrettyEmbedHelper:Button.Play | ||
|
||
// YouTube specific | ||
type = null | ||
type = ${null} | ||
closedCaptions = ${this.configuration.defaults.closedCaptions} | ||
showRelated = ${this.configuration.defaults.showRelated} | ||
|
||
|
@@ -74,7 +74,7 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Video) < prototype(Neos.F | |
<Jonnitto.PrettyEmbedHelper:Assets | ||
youtubeAPI={props.enableJsApi && props.platform == 'youtube'} | ||
/> | ||
<Jonnitto.PrettyEmbedVideoPlatforms:Component.Video.Fragment.Youtube | ||
<Jonnitto.PrettyEmbedVideoPlatforms:Component.Video.Fragment.Youtube | ||
@if.set={props.platform == 'youtube'} | ||
{...props} | ||
poster={props.finalPoster} | ||
|
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