Hi, I have had to hack the flashnode.module file on line 1039 (the HTML output section of the flash node) to include the following parameter:

Would it be possible to put a "Wmode" option in the flashnode form (when creating a flashnode) within the "Basic Options" so that we can select between "window" "opaque" and "transparent"?

Thanks guys and gals

Comments

Anonymous’s picture

Sorry for some reason my post didnt come through right....

I had to add <param name="wmode" value="opaque"> to the "params" list in the HTML output on line 1039 of flashnode.module

and also wmode="opaque" to that same line but within the "embed src=" tag...

The reason for this was to avoid conflicts with my dropdown menus on my homepage.

Would it be possible to add "wmode" as an option with a selector list (window, opaque, transparent) under the Basic Options section when creating a flash node?

Thanks guys and girls.

Stuart Greenfield’s picture

Status: Active » Needs review

As an alternative...

I added the (requested) parameter capability to flash node tonight, and I just uploaded a new version of flash node 6 to HEAD. If you use HEAD (and run flash node update 6001 if you already installed an earlier version 6 either from HEAD or from the official release), and then run this in conjunction with the 6.x-1.x-dev version of SWF Tools, then you can pass an arbitrary string of parameters by putting something like menu=true allowfullscreen=false play=false in the Parameters field under Advanced flash node options.

I tested it a bit tonight and it seems fine - I was able to switch menus etc on and off at will!

This would address the issue you have above I think, and requires fewer settings on the form than having every possible parameter available in a drop down / check box etc. For most users they would probably never alter the settings anyway?

Stuart Greenfield’s picture

Status: Needs review » Fixed

Committed and included in latest release of flash node 6. I don't plan to port this back to flash node 5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

lukio’s picture

Version: 6.x-1.1 » 6.x-3.1

Hello,

I don' t know why, but this "feature" is not included in flashnode-6.x-3.1, and i didn't found any "wmode" selection under flashnode basic options.

cheers!

lukio’s picture

Status: Closed (fixed) » Active

Change this line (number: 1139) if you want window mode

<?php

 $output = t('<div class="flashnode"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="!width" height="!height" id="myMovieName"><param name="wmode" value="opaque" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="movie" value="!filepath" /><param name="quality" value="high" /><param name="flashvars" value="!flashvars" /><param name="base" value="!base" /><embed src="!filepath" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" width="!width" height="!height" flashvars="!flashvars" name="myMovieName" align="" type="application/x-shockwave-flash" base="!base" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>',

?>