I've got the video module set up using zencoder and it does successfully transcode my videos properly. When I display the node with the default page.tpl.php I can see the converted video -- however, I'm trying to theme the video nodes a bit differently so I'm using a customtype--page.tpl.php. When I dpm($page['content']['system_main']['nodes'][$nid]) and take a look at the information provided by my video field (field_project_video), I'm only getting the original video, not the converted one.

When I dpm($page) using the default page.tpl.php I still only get the original video, despite the fact that the page is displaying the converted one. So I'm assuming that the converted video is only displayed as a result of render($page['content']) -- is there a way to get the converted video into the $page array so that it can be properly themed?

Thanks a bunch!

Comments

Saoirse1916’s picture

Priority: Normal » Major

Anyone have any thoughts on this?

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Perhaps you can override video-play-html5.tpl.php in your theme. You should select the HTML5 Video For Everybody player to load that theme.

Saoirse1916’s picture

I am using Video for Everybody but the problem is that I'm also using a custom project--page.tpl.php to display the node content and in that setup the video module is only outputting the original video in the $page array. When using project--page.tpl.php the video-play-html5.tpl.php is ignored.

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Fixed

In the current -dev version, all information related to a video is already present in the $node->field_xyz object. Take a look at the object with dpm() to find the information you need. I hope this is sufficient for you, otherwise please reopen this issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.