Skip to content

Commit

Permalink
Fix: Work around for strange bug in Fusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Sep 4, 2022
1 parent a8243ca commit f2702c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Resources/Private/Fusion/Component/Audio.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down
6 changes: 3 additions & 3 deletions Resources/Private/Fusion/Component/Source.fusion
Original file line number Diff line number Diff line change
@@ -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)}

Expand Down

0 comments on commit f2702c3

Please sign in to comment.