Create a programmatic way to theme a video node.


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.