title: How do I output a YouTube video with EXT:blog from a page's resources in Fluid?
body: <p>In the context of <code>EXT:blog</code> (which may or may not be relevant) on TYPO3 8.7 I added a YouTube video under <em>Resources > Files > Media > Add media by URL</em>. This results in a reference to a <code>.youtube</code> file.</p>
  
  <p>Within <code>List\Post.html</code>, a Fluid template which overrides <code>EXT:blog</code>'s <code>Post.html</code>, I get access to the <code>post.media</code> array. <code>post.media</code> contains a <code>FileReference</code>. When rendering that using <code>&lt;f:image src="thatreference.uid" treatIdAsReference="1" .../&gt;</code> I do get the video's thumbnail.</p>
  
  <p>How do I determine whether a <code>post.media</code> entry refers to a YouTube video and how do I render that video instead of the thumbnail image? I could not find any useful properties on that <code>FileReference</code> (such as media type or YouTube video ID) yet. Do I need to go another route?</p>