prototype(Newland.NeosNodeTypes:Video) < prototype(Neos.Neos:Content) {
    templatePath = 'resource://Newland.CityTheme/Private/Templates/NodeTypes/Video.html'

    alternativeText = Neos.Fusion:Case {
        isImagePropertyCaption {
            condition = ${!String.isBlank(q(node).property('previewImage').caption)}
            renderer = ${String.trim(String.stripTags(q(node).property('previewImage').caption))}
        }
        fallback {
            condition = TRUE
            renderer = ${q(node).property('previewImage').title}
        }
    }
    
    @process.wrapWithContainer = ${'<section class="o-container o-container--sm ' + q(node).property('marginTop') + '">' + value + '</section>'}
}