In Drupal 7, I am using panels/panelizer, media & media_youtube.
I have correctly set up my view mode for the Video file type, and have selected that view mode using 'Rendered entity' in my pane settings.
The video is rendering as a link to sites/default/files/[file youtube title].
The above problem is arising with a file field on a node, that is being rendered with panelizer. When I add a video using a fieldable panel pane, it renders correctly (using the same view mode).
Any help you could provide would be much appreciated.
<div class="field-video"> <span class="file"> <img class="file-icon" alt="" title="application/octet-stream" src="/modules/file/icons/application-octet-stream.png"> <a href="http://sl-header.site.io/sites/default/files/F%2016%20Fighter%20Pilots%20over.F%2016%20Fighter%20Pilots%20over" type="application/octet-stream; length=0">F 16 Fighter Pilots.F 16 Fighter Pilots over</a> </span> </div>