[TYPO3-english] Get path of FAL media?

Rudy Gnodde rgn at windinternet.nl
Wed Dec 14 08:50:21 CET 2016


Hello Jacob,

{newsItem.falMedia.0} is an object. You can access its properties and 
public functions in Fluid. From the top of my head you can get the URL 
using {newsItem.falMedia.0.originalResource.publicUrl}

Regards,

Rudy Gnodde
WIND Internet

Op 13-12-2016 om 14:56 schreef Jacob Roe:
> Using Fluid Template with tx_news, I need to get the URL of uploaded FAL
> video. Not a render, just the URL.
>
> Currently I have this:      {newsItem.falMedia.0}
> Which prints:
> GeorgRinger\News\Domain\Model\FileReference:3
> I want the output:             fileadmin/user_upload/MyVideo.mp4



More information about the TYPO3-english mailing list