<![CDATA[ [Snippet] FlashVideo - My Forums]]> https://forums.modx.com/thread/?thread=36466 <![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206193 Quote from: ZAP at May 28, 2006, 08:04 AM

For Flash movies I use an external script called flashobject (in attached zip):
<head>
...
<script src="assets/flashobject.js" type="text/javascript"></script>
</head>
...
<div id="flashcontent"></div><script type="text/javascript">
   var fo = new FlashObject("assets/images/yer-movie.swf", "name", "width", "height", "version", "bgcolor");
   fo.write("flashcontent");
</script>
...

The blank div gets dynamically filled with the Flash content.
I tried using your method but no joy there either! My ModX site really doesn’t like me using Flash! Any ideas? The test page I’m working on is here: http://www.ideal-country-property.com/es/test
Cheers. Chris.]]>
stoffershorty Jul 23, 2009, 10:24 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206193
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206192 ZAP Jun 22, 2006, 02:07 PM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206192 <![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206191 Quote from: ZAP at Jun 22, 2006, 03:17 PM
It would be nice if M$ would at least mess it up the same way for IE6 as IE7, but that may be expecting too much from them.

It’s not an IE7 thing - they were forced to change it as a result of a stupid, opportunistic patent lawsuit. The case was found for the plaintiff, Eolas (sound like something from Lord of the Rings) despite unprecedented support for MS, including a letter from Tim Berners-Lee himself, explaining exactly how it would break the internet.  It’s not just MS who will be affected if it is pursued any further, but Sun, Mozilla, Real Networks - any kind of embedded app.

So, in answer to your question, yes - it is now the same in IE6. However, it still has to be established as to whether this solution is acceptable under the terms of the court ruling.]]>
zenmaster Jun 22, 2006, 02:00 PM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206191
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206190 ZAP Jun 22, 2006, 10:17 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206190 <![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206189 Quote from: ZAP at May 28, 2006, 08:04 AM

For Flash movies I use an external script called flashobject (in attached zip):

In my usual pig headedness I thought there has to be a simpler way ( well with less javascript, in the interests of avoiding potential scripting conflicts in the future ), and ended up trying out all sorts of methods, from microsoft’s version to adobe’s version and everything inbetween to finally end up using your method, which seems to be becoming the internet standard for the AcitveX issue. ( check out the source of http://www.christinaaguilera.com/ for example )

The script has an active mailing list of testers and debuggers http://blog.deconcept.com/swfobject/ and, as an interesting footnote has had to be renamed due to legal issues undecided ( now swfobject.js as opposed to flashobject.js )

Thanks for the original posting.]]>
scraf Jun 22, 2006, 01:46 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206189
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206188 ZAP Jun 13, 2006, 10:56 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206188 <![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206187 Quote from: scraf at Jun 05, 2006, 11:38 AM

I have my movies by default on "stopped" so I’m hoping that because they need to be clicked I won’t have an IE ActiveX issue.

They must be clicked twice - once to enable ActiveX and once to set it going, as detailed here. This only works sometimes - I am currently having an issue with the second click being ignored which I have not yet resolved.

]]>
zenmaster Jun 13, 2006, 10:13 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=3#dis-post-206187
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206186 http://modxcms.com/forums/index.php/topic,4861.msg35543/topicseen.html#msg35543

If you have your flash files in the assets/flash/ folder the path to the container movie and the movie itself should be as this....

<object type="application/x-shockwave-flash
data="assets/flash/c.swf?path=assets/flash/movie.swf" 
width="400" height="300">

<param name="movie" 
value="assets/flash/c.swf?path=assets/flash/movie.swf" />

<img src="assets/flash/noflash.gif" />
</object>


..... as the refernces are coming from the index page.

I have my movies by default on "stopped" so I’m hoping that because they need to be clicked I won’t have an IE ActiveX issue.]]>
scraf Jun 05, 2006, 06:38 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206186
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206185
For Flash movies I use an external script called flashobject (in attached zip):

<head>
...
<script src="assets/flashobject.js" type="text/javascript"></script>
</head>
...
<div id="flashcontent"></div><script type="text/javascript">
   var fo = new FlashObject("assets/images/yer-movie.swf", "name", "width", "height", "version", "bgcolor");
   fo.write("flashcontent");
</script>
...


The blank div gets dynamically filled with the Flash content.


And for QuickTime I use another one called QTobject (in attached zip), which is just Apple’s AC_QuickTime.js renamed (I like my name better):

<head>
...
<script src="assets/QTobject.js" type="text/javascript"></script>
</head>
...
<script type="text/javascript">
QT_WriteOBJECT_XHTML (
   'assets/videos/yer-video.mov', 'width', 'height', '',
   'autoplay', 'true',
   'controller', 'true',
   'emb#bgcolor', '#ffffff'
);
</script>
...


They’re not my scripts - just ones I’ve found to work for me. See the comments within them for more options and info. I tried several others before settling on these.

Hope that helps.]]>
ZAP May 28, 2006, 03:04 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206185
<![CDATA[Re: [Snippet] FlashVideo]]> https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206184
I’d be very interested to see what you use, ZAP.]]>
scraf May 28, 2006, 02:12 AM https://forums.modx.com/thread/36466/snippet-flashvideo?page=2#dis-post-206184