Needs review
Project:
SWF Tools
Version:
6.x-2.5
Component:
SWF Tools
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2009 at 21:29 UTC
Updated:
15 Apr 2010 at 19:41 UTC
I have created a view to show the latest video added. I icluded the title and the video field.
Everything works but I am unable to customize the size of the video for the view block.
How can I customize the video, similar to how I customize the size of images using image cache?
Comments
Comment #1
doors commentedCan someone please answer!
Comment #2
doors commentedI got the file to play by putting the file name within the swf function.
But how do I get the filename automatically?
The following is the default theme and I used print_r() to look through the variables and objects that this theme supplies but none of them have the filename of the flash file included:
print $output;Comment #3
AlexanderPop commentedJust create a text field in CCK for your content type. Not a file field. Then write the link as SWF input code..
swf file="yourfile.swf" params="height=320&&width=240"
Using the default text format option in views..
Comment #4
Stuart Greenfield commentedThis is easy with the new Views integration and profiles (#581470: Playlist option in file handlers). Create a profile that has the player you want in the size you want. Then create a view to pull through the file(s) that you want, set the style as SWF Tools, and choose the profile that you made to handle the results.
Hey presto, instant block or page!