Show different sizes of video when Disable the [video] tag?
doknet - November 12, 2009 - 22:03
| Project: | FlashVideo |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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.
