Hi

I have read and follow all instructions marked on
http://drupal.org/node/141706

1) I have installed and configured the module swf tolls (versión 3 dev)
2) I have installed and active swfobject swfobject_api
3) Player is the default jw flv 3 (also try wich 4 and flowplayer)
3) all goes well ) With the exception of thumbnail. and params width an hieght
5) I have create content type video
whicht field 1 tvideo (thumbnail) and 2 field video (the flv)
5a) tvideo field set (file upload)-Path settings -> File path: videos -- Display > Thumbnail swf tolls.
5b) video field set (file upload) -Path settings -> File path: videos -- Display > swf tolls no download.

node/add/video

6) I upload the video1.flv (video field)
7) I upload an image (image1.jpg name) tvideo field

8) The video clearly shows but does not show thumbail.
9) in the order of fields this first tvideo (image).

10)
According to the documentation of the branch 3 (swftolls.module) and cck formatter
should automatically bring the image thumbnail (points 5a and 5b) It does not work for me.

Could anyone comment that i'm missing ..

11) Bring the img with node-video.tpl.php

a)
http://www.davidnewkerk.com/book/103
http://drupal.org/node/155358

 print swf(
 $node->field_video[0]['filepath'], 
 array(
 'flashvars' => array('image' => 'videos/' . ($node->field_tvideo[0]['filename'])))
 )
  

b)
http://mustardseedmedia.com/podcast/episode19
print swf($node->field_file[0]['filepath']);
print $content

Deal with several codes to pass the width and height parameter and the thumbnail
to the player and do not succee

12) Bring the img with content-field.tpl.php content-field-field_FIELDNAME-CONTENTTYPE.tpl.php
http://drupal.org/node/450946
1. Create a content type "video" with a field for your thumb - "video_thumb", and one for your flv - "video".
2. Copy the "content-field.tpl.php" template from the CCK theme folder into your theme folder.
3. Make a duplicate of "content-field.tpl.php" and rename it "content-field-field_video-video.tpl.php", so it will only apply to the FLV field within the video content type.
4. Within this new template, replace the line

print $item['view'] 

for
Working wicht flowplayer
1

2   print swf(
3     $item['filepath'], 
4     array(
5       'flashvars' => array('image' => $node->field_video_thumb['0']['filename'])
6     )
7   );
8 

Working wicht jw player
1

2   print swf(
3     $item['filepath'], 
4     array(
5       'othervars' => array('image' => $node->field_video_thumb['0']['filename'])
6     )
7   );
8 

This working for my for vista node o teaser,

14) Point 12 works well to show thumbnail and to pass parameters height and width to the player in the teaser view as full node view.

15 ) What I fail to do is to pass parameters (whidth, height and thumbail) when I do a views and choose the type fiews view,
Style: Unformatted Row style: Fields, both as to block as page views .
I always displays the default height and width put in player without thumbnail

16 ) en video externos con Embedded Video Field , seleccionando
Preview video o Full video sirven para todo tipos de vista. El problema lo tengo con videos locales
Whitch external video, and Embedded Video Field and Swf tools, selecting Full or Preview video,
used for any type of display (teaser, node o views).
The problem I have with local videos

Question and request for help.

A) Could someone tell me if there is way of passing parameters (whidth , hieght and thumbnail to the player)
In Views Style: Unformatted Row style
What put ? in
Row style output: views-view-fields--VIEWSNAME--block-4.tpl.php
or
Field Content: video local (field_video) (ID: field_video_fid):

views-view-field-VIEWSNAME--block-4--FIELDNAME-fid.tpl.php

B) Is there any way to the thumbnail automatically displays the player
(point 5a y 5b)

C) With that action can be defined and used to use both teaser, and full node and views field type
wicht cck formatter like point 16 (emfield)

I am not a programmer so I regret not being able to contribute the code
SWF is a great module and it cost a lot of work to its developers, especially Stuart Greenfield therefore appreciate the effort and talent.

Sorry for my inglis.

Thanks.

Comments

ron williams’s picture

I am having the same issue with flowplayer, swf() works, but flashvars are not. This is definitely something that would be very helpful. Another helpful item would be automatic use of the image generated via video module which would eliminate my use case, but I won't be pushy =)