From f2702c3c921a60375a39fbe0910fe6b48059d858 Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Sun, 4 Sep 2022 17:55:30 +0200 Subject: [PATCH] Fix: Work around for strange bug in Fusion --- Resources/Private/Fusion/Component/Audio.fusion | 10 +++++----- Resources/Private/Fusion/Component/Source.fusion | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Resources/Private/Fusion/Component/Audio.fusion b/Resources/Private/Fusion/Component/Audio.fusion index ca069db..8387eab 100644 --- a/Resources/Private/Fusion/Component/Audio.fusion +++ b/Resources/Private/Fusion/Component/Audio.fusion @@ -6,15 +6,15 @@ prototype(Jonnitto.PrettyEmbedAudio:Component.Audio) < prototype(Neos.Fusion:Com preload = ${this.configuration.defaults.preload} playsinline = ${this.configuration.defaults.playsinline} crossorigin = ${this.configuration.defaults.crossorigin} - class = null - audioClass = null - disableAudioPlayer = null + class = ${null} + audioClass = ${null} + disableAudioPlayer = ${null} wrapper = ${Configuration.setting('Jonnitto.PrettyEmbedHelper.wrapper')} - id = null + id = ${null} - sources = null + sources = ${null} content = ${this.sources} diff --git a/Resources/Private/Fusion/Component/Source.fusion b/Resources/Private/Fusion/Component/Source.fusion index 1b579de..04d27bc 100644 --- a/Resources/Private/Fusion/Component/Source.fusion +++ b/Resources/Private/Fusion/Component/Source.fusion @@ -1,7 +1,7 @@ prototype(Jonnitto.PrettyEmbedAudio:Component.Source) < prototype(Neos.Fusion:Component) { - asset = null - uri = null - fileextension = null + asset = ${null} + uri = ${null} + fileextension = ${null} @if.render = ${this.fileextension && this.uri || (this.asset && this.asset.resource.fileextension == this.fileextension)}