I am usıng print flashvideo_get_video($node) on content tenplate. When I upload onl one video everything works but If I upload couple of videos only the first uploaded shows on the node page I would really appreciate feedback.
Thanks in advance.

Comments

Medya-1’s picture

anyone

travist’s picture

You need to use the index parameter to index into other videos you uploaded....

If you are using PHP to do this, then just do the following....

<?php

print flashvideo_get_video($node);  // To show the first video....


$params['index'] = 1;
print flashvideo_get_video($node, $params);    // To show the second video....

?>
Medya-1’s picture

thanks very much for your help works great

I have done like this

<?php
print flashvideo_get_video($node);  // To show the first video....

$params['index'] = 1;
print flashvideo_get_video($node, $params);   

$params['index'] = 2;
print flashvideo_get_video($node, $params);  

$params['index'] = 3;
print flashvideo_get_video($node, $params);  

$params['index'] = 4;
print flashvideo_get_video($node, $params);   

$params['index'] = 5;
print flashvideo_get_video($node, $params);   
?>

I am also trying to figure out lets say if there is $params['index'] = 1; I want it to print br /br after each video I tried some veriation sbut did not work

attheshow’s picture

Status: Active » Closed (fixed)

I think you're looking for:
print flashvideo_get_video($node, $params).'<br />';