Posted By

karmacode on 04/22/10


Tagged

drupal emfield


Versions (?)

Create a programmatic way to theme a video node.


 / Published in: PHP
 

Best used in a node.tpl.php or node-panel-identifier.tpl.php

  1. $system_types = $system_types = _content_type_info();
  2. $vars['video'] = theme('emvideo_video_video', $system_types['fields']['field_video_url'], $node->field_video_url[0], 'emvideo_embed', $node);

Report this snippet  

You need to login to post a comment.