Posted by kappaluppa on January 1, 2010 at 9:06pm
I am trying to output video using SWF Tools with views, but am getting errors saying it cannot see the flash content. This is my testing:
<?php
print $fields['field_video_fid']->content;
?><?php
print swf('http://www.inwithskin.com/drupal6/sites/default/files/Cuteraflash.flv');
?><?php
print swf($fields['field_video_fid']->content);
?>A strange twist to this is that it works on another site on the same server.... I'm tearing my hair out here!!!
Any ideas/suggestions/supportive cursing would be appreciated!
Thanks!
K

Comments
Is the display formatter outputting a link?
I suspect that
<?php$fields['field_video_fid']->content
?>
<?phpprint $fields['field_video_fid']->filepath;
?>
Might take a look at jQuery Media + Filefield as well: http://drupaltherapy.com/filefield .
Aaron Winborn
Drupal Multimedia (my book, available now!)
AaronWinborn.com
Advomatic