Forum: Radiant CMS Flash In IE

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
52340fcd41c8dd4bc17c933529c70f83?d=identicon&s=25 Kelly Torian (ktorian91)
on 2009-01-10 21:17
Have a site that is using a basic flash slide show in the header.  It
shows on both MAC and PC platforms in every browser except IE.

Anyone have insight?

Sincere thanks.

Kelly
1a650db02dfea269fe358c3ebb9b93fc?d=identicon&s=25 Russ Johnson (Guest)
on 2009-01-10 21:32
(Received via mailing list)
How are you calling the flash? Are you using the javascript method to
load it or the old <embed> tags?
52340fcd41c8dd4bc17c933529c70f83?d=identicon&s=25 Kelly Torian (ktorian91)
on 2009-01-10 23:19
Attachment: AC_RunActiveContent.js (8 KB)
Russ Johnson wrote:
> How are you calling the flash? Are you using the javascript method to
> load it or the old <embed> tags?

I'm using the embed tags in the header snipper where the slide show
resides.  However, in the layout I am calling an external link to a
version checking java script within the head tags, provided by the
artist who did the animation.

JS file is attached.

-Kelly
44261b1dd4d1f942a43d19c45e3a22e4?d=identicon&s=25 Adam van den Hoven (Guest)
on 2009-01-11 01:46
(Received via mailing list)
Wow, that is a lot of JavaScript.

Since MS has rolled back its "click to activate" end run around Eolas,
its not really necessary any more. Further, something as simple as a
slide show should be written to work on pretty much any version of
Flash you're going to find in the wild. I, honestly, can't think of
any good reason for all that JavaScript to get something that simple
to run.

I would use the following:

      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="300" height="120">
        <param name="movie" value="test6_flashvars.swf" />
        <param name="menu" value="false" />
        <param name="wmode" value="transparent" />
        <param name="flashvars"
value="name1=hello&amp;name2=world&amp;name3=foobar" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash"
data="test6_flashvars.swf" width="300" height="120">
          <param name="menu" value="false" />
          <param name="wmode" value="transparent" />

          <param name="flashvars"
value="name1=hello&amp;name2=world&amp;name3=foobar" />
        <!--<![endif]-->
          <div>
            <h1>Alternative content</h1>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img
src="http://www.adobe.com/images/shared/download_button...
" alt="Get Adobe Flash player" style="border:none;" /></a></p>
          </div>
        <!--[if !IE]>-->
        </object>

        <!--<![endif]-->
      </object>

which I took from the last group of techniques available on this page:
http://www.bobbyvandersluis.com/flashembed/testsuite/

However, if you're really married to the JavaScript and its not
working for some version of IE, you need to have your Flash Dude
figure out what's wrong with his code
52340fcd41c8dd4bc17c933529c70f83?d=identicon&s=25 Kelly Torian (ktorian91)
on 2009-01-11 04:05
> However, if you're really married to the JavaScript and its not
> working for some version of IE, you need to have your Flash Dude
> figure out what's wrong with his code.

LOL -  it is a a butt-load of code and I'm not married to it at all.
Your code did work and I can cut all that other garbage out.

Thanks so much, I am eternally grateful.

Kelly
3c415075c9e778e2d38ebf4588a68464?d=identicon&s=25 Nate Turnage (Guest)
on 2009-01-11 04:42
(Received via mailing list)
Use SWFobject: http://code.google.com/p/swfobject/

It is now the Adobe-recommended way to put flash on a page.

I haven't found a way to use this with paperclipped yet, but I am sure
there
is a way.



~Nate
A4f4e00d3aa3807fada28bca2ede7468?d=identicon&s=25 Ceaser Larry (Guest)
on 2009-01-12 12:54
(Received via mailing list)
My first extension I created provides radiant tags to load flash
objects using swfobject. If also works with paperclipped or any url
string.
You can find it on github its called radiant-flash_content-extension.

http://github.com/ceaser/radiant-flash_content-ext...

Here is a example of how the tag works
In the layout
<r:flash_content:include />

In the page
<r:flash_content:link width="300" height="120">
   <r:assets:url title="test" />
</<r:flash_content:link>

Ceaser
3c415075c9e778e2d38ebf4588a68464?d=identicon&s=25 Nate Turnage (Guest)
on 2009-01-12 14:41
(Received via mailing list)
On Sun, Jan 11, 2009 at 12:50 PM, Ceaser Larry
<ceaser.larry@gmail.com>wrote:

> My first extension I created provides radiant tags to load flash objects
> using swfobject. If also works with paperclipped or any url string.
> You can find it on github its called radiant-flash_content-extension.
>
> http://github.com/ceaser/radiant-flash_content-ext...
>
>

Oh man, I cannot wait to try this one out.



~Nate
This topic is locked and can not be replied to.