[Neos] Create Video Content Element

Tina Eckhorst t.eckhorst at magent.de
Wed Dec 10 13:35:49 CET 2014

I finally found the solution. Maybe someone else needs it. 
This is how you get the path to the video file:
{f:uri.resource(resource: videofile.resource)}

"videofile" is the name of the property in the NodeTypes.yaml.

Quote: Tina Eckhorst (tynae) wrote on Wed, 10 December 2014 10:51
> Hi,
> I created a property of the type "TYPO3\Media\Domain\Model\Asset" in order to choose a video file. This is working but I don't know how to integrate an asset into the template. How do I get the path of the file?
> Images are generated like this, but what's the equivalent for videos?
> <m:image asset="{thumbnailImage.properties.image}" alt="{thumbnailImage.properties.alternativeText}" />
> Or does an extension exist? I couldn't find any.
> Thanks!
> Tina

More information about the Neos mailing list