Appearance
Convert video placeholders
To render video placeholders, i.e. [[video:{id}]], and display the actual video in the content you need to pass it through \App\Services\ContentConverters\ReplaceVideoPlaceholdersWithHtml.
php
return \Illuminate\Support\Facades\Pipeline::send($content)
->through([
ReplaceVideoPlaceholdersWithHtml::class,
])
->thenReturn();TODO: There is an interface \App\Modules\Media\Models\Video\CanUseVideoInContent and a trait \App\Modules\Media\Models\Video\HasVideoContent. The process can be enhanced to automatically run the converter on the models that implement this interface.