ContainerMarkupData,
EmbedMarkupData,
PlaylistMiniatureMarkupData,
- VideoFilter,
VideoMiniatureMarkupData,
VideosListMarkupData
} from '@shared/models'
isLive: this.buildBoolean(data.isLive),
- filter: this.buildBoolean(data.onlyLocal) ? 'local' as VideoFilter : undefined
+ isLocal: this.buildBoolean(data.onlyLocal) ? true : undefined
}
this.dynamicElementService.setModel(component, model)
root.classList.add('peertube-container', layoutClass)
+ root.style.justifyContent = data.justifyContent || 'space-between'
+
if (data.width) {
root.setAttribute('width', data.width)
}