Active
Project:
FlashVideo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 22:03 UTC
Updated:
12 Nov 2009 at 22:03 UTC
It is possible to pass diff parameters of the video size when Disable the [video] tag?
I wold like show a one teaser size, and other size in the node, and another when in list views
Are a way of passing parameters in the tpl?
It is possible sentence in the tpl to read something like
<?php
params1=$params['flashvars']['height'] = 170px ['width'] = 240px ;
params2=$params['flashvars']['height'] = 210px ['width'] = 390px ;
?>
<?php
if ($teaser): /* teaser */
print flashvideo_get_video($node, $params1 );
else: /* full node */
print flashvideo_get_video($node, $params2);
print $content;
endif;
?>
Any idea?
Sorry my inglis.