Posted by rudeboyal on June 24, 2008 at 12:47pm
4 followers
Jump to:
| Project: | Flash Node |
| Version: | 6.x-3.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | rudeboyal |
| Status: | active |
Issue Summary
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:
Comments
#1
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.moduleand 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.
#2
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=falsein 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?
#3
Committed and included in latest release of flash node 6. I don't plan to port this back to flash node 5.
#4
Automatically closed -- issue fixed for two weeks with no activity.
#5
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!
#6
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>',
?>