Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 11:44:56 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155532 Posts in 21713 Topics by 7738 Members
Latest Member: Pattieardathfe
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: adding flash using swf player - help needed.  (Read 1075 times)
reneesh

Offline Offline

Posts: 1


« on: January 07, 2010, 06:23:18 AM »

Hi,
I am trying to play a swf file in website baker installation. I had spent lot of time for find out the reason why it is not working. I am using the following code.. Could you please let me know what I am doing wrong..

Code:
<script src="<?php echo TEMPLATE_DIR?>/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','655','height','260','align','middle','src','flash_header','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash_header' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="655" height="260" align="middle">
            <param name="movie" value="<?php echo TEMPLATE_DIR?>/flash_header.swf" />
            <param name="quality" value="high" />
            <embed src="<?php echo TEMPLATE_DIR?>/flash_header.swf" width="655" height="260" align="middle" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"></embed>
                </object></noscript>

The whole code is in the index.php page in my design..

Please help me..

[EDIT: Please use the Code Button to format Code, did that for you - kweitzel[/EDIT]
« Last Edit: January 10, 2010, 06:37:29 PM by kweitzel » Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: January 10, 2010, 06:38:10 PM »

Where is the SWF File you try to use located?

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Waldschwein
Guest
« Reply #2 on: January 10, 2010, 06:44:50 PM »

Hello!

It's much easier than that...

1.) Download http://www.websitebakers.com/pages/admin/admin-tools/fck-editor.php the newest FCKEditor plugin and install (upgrade).
2.) Access \modules\fckeditor\wb_config\wb_fckconfig.js with FTP/AddonFileEditor and "uncomment" line 22
//  FCKConfig.Plugins.A dd( 'flvPlayer','en,de') ;
and line 105
 /* 'flvPlayer', */
Save it.
3.) You have in FCKEditor a new button (first line) which includes a SWFplayer with any mod.

Yours Michael
Logged
basking4me

Offline Offline

Posts: 6


« Reply #3 on: August 17, 2010, 05:40:06 PM »

Hello Waldschwein,

Pl what do you mean by uncomment line 22..? are you saying I need to remove the comment to make swf work on the ckeditor/wsiwig..?
 
Pl explain. Regards
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!