Page 1 of 1

How to embed a flash file into a module or article

Posted: Tue Feb 19, 2008 11:17 am
by nickosl50
Hi ,
I am using Joomla 1.5 and would like to know if there is a way to embed Flash files in modules or articles.

Thank you very much
Nick Lazidis

Re: How to embed a flash file into a module or article

Posted: Tue Feb 19, 2008 2:31 pm
by Hoosier3D
I had trouble using it, but you might try the extension called JUMI. It has an awesome rating and the developer of the extension offers a lot of help right here in this forum. You might try doing a search for "jumi flash" in the forum to find the posts where he helped me out. I ended up using a wrapper and it worked easily, but is not exactly how I wanted it to appear on my site, so I am planning on going back to JUMI to work on it more. I will watch this post so that maybe we can help each other out! :)

Re: How to embed a flash file into a module or article

Posted: Fri Feb 22, 2008 3:25 am
by annasweb
Hi,

About a week ago I posted an article with flash and had trouble getting it to work with IE. It looked perfect in all the other browsers. To get it in the article, I clicked on the html button and pasted the <object>flash code here </object> tag into the article. After saving the article and looking at in on the site, I was disappointed I couldn't see it.

I solved the IE problem by inserting the exact location of the .swf file (http://www.mysite.com/images/image.swf) into the <object> tag where the code was referencing the image source. Now the file looks just the way I want it to look.

Anna

Re: How to embed a flash file into a module or article

Posted: Tue Feb 26, 2008 6:11 am
by christopherrobin
Hello good chaps,

I had a similar issue recently.

I switched from Joomla 1.0.14 RC1 to 1.5 and I when I went to post a new article, I could not find the embed flash button that was there in 1.0.14 RC1. I was very ticked off and I searched Google for a few minutes and did not find the answer as to how I could embed flash files. I was thinking that it might have been do-able through the insert image button, but it was not, and I kept telling myself all along that it was probably right under my nose.

Well, it was, but it wasn't. The film strip button turns out to be a insert/edit embeddable media button. I don't know what it was in 1.0.14 because I never used it, but that is how I am now embedding flash files.

I'm not sure if I am even on the same page as you guys, or if what you are talking about is completely unrelated.
However, if I helped in any way, I'll be a happy camper.

-Chris

Re: How to embed a flash file into a module or article

Posted: Tue Feb 26, 2008 5:44 pm
by annasweb
Hey Chris,

Thanks for the information. I was like you and thought it was right under my nose somewhere but didn't go digging too far for it. I knew I could place the exact location of the .swf file into the html and that seemed to work for me. Next time I have to insert a flash file I will give the film strip a try.

Thanks,
Anna

Re: How to embed a flash file into a module or article

Posted: Tue Apr 29, 2008 4:30 pm
by snadowitz
Hi - I am using 1.5.x with the JCE editor installed. I cannot find how to embed flash files in my content, cannot see any filmstrip icon....any ideas?

Re: How to embed a flash file into a module or article

Posted: Tue Apr 29, 2008 9:37 pm
by BobbyS
The JoomlaFCK editor has an Insert/Edit Flash button; if youy want to try a different editor.

Re: How to embed a flash file into a module or article

Posted: Tue Apr 21, 2009 2:29 am
by southga1974
I'm using the JCE editor with the Media plugin. I have a flash swf file that I'm trying to insert into an article. The insert works using the filmstrip icon, but when I view my site from the frontend, I don't see the video.

I had to convert the file to a flash file first because it was a 3GP file. What could be the problem?

Re: How to embed a flash file into a module or article

Posted: Sun Jun 14, 2009 9:36 pm
by Hoosier3D
I just updated JCE editor and noticed the new plugin that looks promising. Will post as soon as I get a chance to work on it! This is hugely important to me, but I do have a ton of obligations right now. I hope that if anyone else tries this, they will post their results also!

Re: How to embed a flash file into a module or article

Posted: Mon Jun 15, 2009 2:13 am
by vjtemplates
sdiggles wrote:Did you figure it out? I tried getting it to work for a in an article and was unsuccesfull. The site is [url]http://www.rehab-programs.org and I want it right on the front page...not sure why it won't work? I used the direct path to the file and everything...
There are many here http://extensions.joomla.org/extensions ... ia-display

Re: How to embed a flash file into a module or article

Posted: Mon Jun 15, 2009 4:14 am
by zaini
nickosl50 wrote:Hi ,
I am using Joomla 1.5 and would like to know if there is a way to embed Flash files in modules or articles.

Thank you very much
Nick Lazidis

yes you can. you may use extensions called flashmod. search into extensions. very easy to use and pretty impressive.

Re: How to embed a flash file into a module or article

Posted: Thu Jun 25, 2009 2:14 am
by Ghonjez
Hi...

Other way for embed flash is use AllVideos extension
See also Flash Management extension

Hope this helps :)

Re: How to embed a flash file into a module or article

Posted: Thu Aug 27, 2009 10:20 am
by southga1974
I use AllVideos. It's a great extension to play Flash movies and very easy to set up and use. You can even play [youtube] movies on your site with it.

Re: How to embed a flash file into a module or article

Posted: Thu Aug 27, 2009 10:31 am
by dr_lionheart
allvideos is a great one for this

Re: How to embed a flash file into a module or article

Posted: Mon Feb 08, 2010 3:30 pm
by sheepwidcomp
Thanks for the suggestion of using joomla works allVideos plugin.
Hi.. I have finally managed to embed a .swf file into a joomla article but how do I align it to the right?

In the article I simply put {swf}welcome{/swf} . Must be obvious!!
Any ideas?

Re: How to embed a flash file into a module or article

Posted: Tue Feb 16, 2010 9:25 pm
by Ghonjez
Hi...

Did you tried for using Align icon on TinyMCE ?
or on HTML editor, try put code like this :

Code: Select all

<div style="text-align: right;">{swf}welcome{/swf}</div>
:)

Re: How to embed a flash file into a module or article

Posted: Tue May 04, 2010 7:55 am
by webvertized
you can simply hard coded it to your index.php
Here's an example code I used;

<object width="436" height="268">
<param name="movie" value="magazinebanner.swf">
<embed src="/home/templates/bellatemplate/css/images/magazinebanner.swf" width="436" height="268">
</embed>
</object>

I created my own template, make sure the source path is correct since it tells your index.php where to locate your swf.

Re: How to embed a flash file into a module or article

Posted: Tue May 04, 2010 1:43 pm
by sgshunmugam
Hi
<object width="920" height="228">
<param name="movie" value="fla.swf">
<embed src="../images/fla.swf" width="920" height="226">
</embed>
</object>
try the above code to run the flash file in the modules and for articles try some available plugins.

Re: How to embed a flash file into a module or article

Posted: Fri May 21, 2010 8:15 pm
by OSlimey1
I use HTMLmod extension. It allows for Javascript and php. I then use the code from Dreamweaver CS4 and embed the swf into a blank dreamweaver HTML page just so I get the code. I then paste that code into an HTMLmod Module and give a position of like "user2". I put the user2 position is below the "component" module. There is probably a better way, but its a way.


<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="600">
<param name="movie" value="images/whatever.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="7.0.70.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="images/cd_rom/rhodes_art.swf" width="800" height="600">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="7.0.70.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/down ... player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>


I change the "FlashID" in the code to "FlashID2". If you have more than one swf you will need to identify each piece separately, just go up 3 and so on.

Put this in your head tag:
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

You of course need those swfobject and express install files. You can get them from Google code.

All paths in this are from the root directory and not the templates directory.

Re: How to embed a flash file into a module or article

Posted: Tue Aug 10, 2010 1:01 pm
by tonymcmahon
This should do it

<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="500" height="130" codebase="http://download.macromedia.com/pub/shoc ... n=8,0,0,24">
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<param name="menu" value="false" />
<param name="scale" value="noscale" />
</object>
</p>

Obviously change the file name and size to suit your file.

I had problems with Flash displaying in IE but not Google Chrome - this works in both!

Re: How to embed a flash file into a module or article

Posted: Sun Mar 20, 2011 4:15 pm
by killallhumans
hi there im messing about with a template called arausio_macula or something similar...
and the code above worked for me after inserting it in the 'user3' div...

Code: Select all

<div id="user3">
<object width="80" height="20">
<param name="movie" value="Solutions.swf">
<embed src="/images/flash/Solutions.swf" width="80" height="20">
</embed>
<embed src="/images/flash/Clients.swf" width="80" height="20">
</embed>
</object>	
however, what im wondering is how to revert to the html modules in joomla if flash is not present
this line (commented out for now) seems to put my top menu buttons in so i guess i need to do some sort of if statement between these two ?

Code: Select all

/* <jdoc:include type="modules" name="user3" /> */
after spending about 4 hours yesterday trying to put a flash button in with the administration pages i gave up and coded it in as per the examples here and it worked in about 5 seconds. im not sure whether this is the way one is supposed to do it in joomla though. any thoughts appreciated.

edit: answer here http://forum.joomla.org/viewtopic.php?f=428&t=604892

Re: How to embed a flash file into a module or article

Posted: Tue Apr 05, 2011 8:59 am
by kappadev
Hi to all and thanks for the great info on this thread.

i have used the "blank template" method in order to have a flash intro as a home page. The only difference is that i hard coded it to my index.php and not in a module or article.

The thing is that i want my flash intro to be full screen size depending on each ones resolution.
Is there a specific kind of code i need to add in for that.

I'm using one of the codes that was suggested above and the intro shows up and works fine but i want it full screen.

I'm using:

Code: Select all

<object width="800" height="600">
<param name="movie" value="magazinebanner.swf">
<embed src="...../magazinebanner.swf" width="800" height="600">
</embed>
</object> 
i have tried to change it to:width="100%" height="100%" but no luck.

Help please

Re: How to embed a flash file into a module or article

Posted: Tue May 17, 2011 5:56 pm
by smaruf
I used joomla1.5 html module extension, these codes worked for me on my localhost. I think its the full url you need to put as src.

<object width="420" height="200">
<param name="movie" value="features.swf">
<embed src="http://localhost/joomla-x/images/features.swf" width="420" height="200">
</embed>
</object>

Re: How to embed a flash file into a module or article

Posted: Tue May 17, 2011 6:05 pm
by smaruf
I tested with joomla standard custom html module, these above codes worked for me as well. i tested on firefox.

Re: How to embed a flash file into a module or article

Posted: Wed Sep 28, 2011 1:54 pm
by RustyJoomla
This is so frustrating. I've tried so many ways to add the Flash code (html file created by another agency calling the flash file with in it) to an article/module and it "appears" to work in the backend, as in I can see the Flash file, but then when I go to the front end, it's not loading it!

Re: How to embed a flash file into a module or article

Posted: Sat Oct 08, 2011 10:41 am
by TimB1
I'm personally having issues not with getting the .swf file to show up, but with getting it to load external data in. (It is a widget for designing products; it works by importing data from some .xml and .txt files and then loading in images from urls given in those files.) I've tried using several different extensions like SWFObject and Flexi Custom Code. (Using Joomla 1.7.) The widget works fine on a normal web page, but not on Joomla, which is kind of irritating. If anyone has any clear guidelines for how to make this work, I'd be happy to receive them either here or in a PM. (Happy to give the site name, details etc. too.)

Re: How to embed a flash file into a module or article

Posted: Sun Oct 16, 2011 7:07 am
by aroganz
Try This:

Code: Select all

<script type="text/javascript" language="JavaScript">
      <!-- 
      var MM_contentVersion = 6;
      var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
      if ( plugin ) {
        var words = navigator.plugins["Shockwave Flash"].description.split(" ");
        for (var i = 0; i < words.length; ++i) {
          if (isNaN(parseInt(words[i])))
          continue;
          var MM_PluginVersion = words[i]; 
        }
        var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
      } else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
        document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
        document.write('on error resume next \n');
        document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
        document.write('</SCR' + 'IPT\> \n');
      }
      if ( MM_FlashCanPlay ) {
        AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8.0.22.0','width','640','height','360','id','88','src','my_flash_movie.swf','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','/nail/video/nfc_home_video.swf');      } else {
        document.write('');
      }
    //-->
    </script>
    <noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8.0.22.0" width="640" height="360" id="88\"> <param name="movie" value="my_flash_movie.swf"/> <param name="quality" value="high" /><embed src="my_flash_movie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="360" name="88"></embed></object></noscript>
Replace it with your movie. with actual width and and the path of the SWF file. Should Work Fine!
Amarnath Jaganathan

Re: How to embed a flash file into a module or article

Posted: Sun Oct 16, 2011 3:31 pm
by TimB1
Thanks for that :). I got it working in the end without using that, just by setting all the paths to absolute ones.

Re: How to embed a flash file into a module or article

Posted: Wed Oct 19, 2011 2:31 pm
by discobaba
this is easy method

i found the solution
here is step to step guide

1) upload ur flash intro HTML file (index.html default) where index.php is there in ur server using ftp client
( keep divert of flash intro to http://www.yoursite.com/index.php/home)
if going with the description below

ADMINISTRATOR backend

1) go to global setting and click yes for friendly url ( this will make ur site look http://www.yoursite.com/index.php/home insted of http://www.yoursite.com/index.php?=-adfgjkldhgklsdf
2) rename HOME button with INTRO under Main Menu
3) Create New Button Name it HOME ( button type should be Article-->Front Page Blog as it was before for HOME Button)
4) Now Edit INTRO Button and make it visible to Special instead of public

Now you wont see the default button which diverts u back to intro which every time play's intro when clicked home


thx
Dhruv Shah