diff --git a/Resources/Private/Fusion/Component/Attributes.fusion b/Resources/Private/Fusion/Component/Attributes.fusion index 99300ee..957f494 100644 --- a/Resources/Private/Fusion/Component/Attributes.fusion +++ b/Resources/Private/Fusion/Component/Attributes.fusion @@ -16,6 +16,8 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Attributes) < prototype(N style = ${!props.hasLightboxWithPreserveAspectRatio && props.finalRatio ? 'padding-top:' + props.finalRatio : null} aria-label = ${props.metadataTitle} data-gdpr = ${props.enableGdprMessage && props.gdprMessage ? props.gdprMessage : null} + data-gdpr-accept = ${props.enableGdprMessage && props.gdprMessageAccept ? props.gdprMessageAccept : null} + data-gdpr-new-window = ${props.enableGdprMessage && props.gdprMessageNewWindow ? props.gdprMessageNewWindow : null} data-ratio = ${props.finalRatio || null} data-fs = ${!!props.allowFullScreen} data-embed = Jonnitto.PrettyEmbedVideoPlatforms:Component.Attributes.Embed { diff --git a/Resources/Private/Fusion/Component/Video/Video.fusion b/Resources/Private/Fusion/Component/Video/Video.fusion index c5890ff..e7340f4 100644 --- a/Resources/Private/Fusion/Component/Video/Video.fusion +++ b/Resources/Private/Fusion/Component/Video/Video.fusion @@ -21,6 +21,8 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Video) < prototype(Neos.F loadImageStrategy = ${this.configuration.loadImageStrategy} enableGdprMessage = ${Configuration.setting('Jonnitto.PrettyEmbedHelper.enableGdprMessage')} gdprMessage = Jonnitto.PrettyEmbedHelper:GdprMessage + gdprMessageAccept = Jonnitto.PrettyEmbedHelper:GdprMessageAccept + gdprMessageNewWindow = Jonnitto.PrettyEmbedHelper:GdprMessageNewWindow // Pass a ratio like this: ${16 / 9} ratio = ${null} diff --git a/Resources/Private/Fusion/Content/Video.fusion b/Resources/Private/Fusion/Content/Video.fusion index dd7841f..ddce1f5 100644 --- a/Resources/Private/Fusion/Content/Video.fusion +++ b/Resources/Private/Fusion/Content/Video.fusion @@ -19,6 +19,8 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Content.Video) < prototype(Jonnitto loadImageStrategy = ${Configuration.setting('Jonnitto.PrettyEmbedVideoPlatforms.loadImageStrategy')} enableGdprMessage = ${Configuration.setting('Jonnitto.PrettyEmbedHelper.enableGdprMessage')} gdprMessage = Jonnitto.PrettyEmbedHelper:GdprMessage + gdprMessageAccept = Jonnitto.PrettyEmbedHelper:GdprMessageAccept + gdprMessageNewWindow = Jonnitto.PrettyEmbedHelper:GdprMessageNewWindow showBackendNotification = true diff --git a/composer.json b/composer.json index 90644f0..3b4dccc 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "jonnitto/prettyembedhelper": "^4.0 || dev-master" + "jonnitto/prettyembedhelper": "^4.2 || dev-master" }, "autoload": { "psr-4": {