>>  Site Map >>  Forums >>  Blocks 7x

Forum module - topics in forum:



Blocks 7x - Discussions regarding PHP-Nuke Blocks. 7x



insert flash into block

ive been trying for a few days to insert flash into a nuke 7.8 block ive read a lot of " how to's" but none give the solution ..
this is what ive been trying to insert into the block threw the html editor

<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
WIDTH="778" HEIGHT="96"
CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
<PARAM NAME="MOVIE" VALUE="movie1.swf">
<PARAM NAME="PLAY" VALUE="true">
<PARAM NAME="LOOP" VALUE="true">
<PARAM NAME="WMODE" VALUE="opaque">
<PARAM NAME="QUALITY" VALUE="high">
<EMBED SRC="http://www.mywebspace/images/movie1.swf" WIDTH="778" HEIGHT="96" PLAY="true" LOOP="true" WMODE="opaque" QUALITY="high"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" />
</EMBED>
</OBJECT>

with the url as my webspace Smile
when i hit save the info is lost it doesnt save it !!
any idea's would be gratefully welcomed
thanks
crow






or is this a glitch with 7.8 and therefore i would be better of downgrading to 7.6 ?






Im not sure if this is specific to nuke 7.7+ (probably is due to the fact that the html editor is not saving the info), however it would be best to downgrade anyway for the added security (How ironic Smile ). http://phpnuke-uk.net/modules.php?name=Forums&file=viewtopic&p=26050






This is the method I have used for creating flash blocks with nuke 7.5, it may still work for your version.

I would try creating the block file just in a normal text editor (Notepad if you have to) and enter the code as follows

Code: :
$content = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"
codebase=\"http://download.macromedia.com/pub/shockwave/cabs/
flash/swflash.cab#version=6,0,29,0\" width=\"778\" height=\"96\"> "
."<param name=\"movie\" value=\"movie1.swf\"> "
."<param name=quality value=high> "
."<param name=\"wmode\" value=\"opaque\">"
."<embed src=\"http://www.blah-blah.com/movie1.swf\" quality=high
pluginspage=\"http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash\"
type=\"application/x-shockwave-flash\"
width=\"350\" height=\"100\"></embed>"
."</object>";


First correct the url in the embed tags to point towards your .swf file. Then upload the block-yourblockname.php file into the blocks directory of your nuke install and activate via the control panel.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS