Closed (fixed)
Project:
SWF Tools
Version:
5.x-1.1
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2008 at 04:12 UTC
Updated:
4 Sep 2008 at 21:52 UTC
I would like to configure the JW flash player to play .mp3 files with just the control bar showing, and then to play .flv vidoes scaled to fit. I can only figure out how to scale the player size to fit my videos in the SWF tools menu, but I can't seem to figure out the single bar style. Does anyone know how to do this? Is it possible to have both?
Comments
Comment #1
capellicI would like to know how to do this, too.
Looks like the "showdisplay" configuration variable is what we need to be able to set. But that option is not available on the configuration page .
These settings are stored as a serialized array in the variable.swftools_wijering_mediaplayer table.
Default settings are set in function _wijering_settings in wijering.module.
I understand that suppressing the display for a general configuration isn't a great idea because it governs all media files being fed through this player, but I would at least like to have the option. And, of course, it would be great to be able to define this setting based on mime type.
Comment #2
capellicFor what it is worth, I abandoned this module.
I instead went with MediaField with the One Pixel Out widget offered in CCK Extras. Do yourself a favor and go with the DEV version of MediaField so that you can apply the patch that makes the upload behave like the File Upload module in core: http://drupal.org/node/132233
Comment #3
Stuart Greenfield commentedAt the moment this isn't definable by file type, but you can configure it for a given file if you are using the SWF Tools filter. E.g. to collapse the player to a single bar for an mp3 file you could use...
<swf file="myFile.mp3" flashvars="height=20">
This gives the player a new height parameter. Using the flashvars construct (with double ampersands between parameters) you can pass any setting to the player, irrespective of whether it is on the settings page.
Alternatively,
<swf file="myFile.mp3" height="20" width="400">
over-rides the height and width settings and produces the same result. Note - you must supply both. If you give just one then the other is left blank and you will either get an invisible player, or an error, depending on your embedding method.
Hope this helps.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.