Researching the reasons for embed.js (openlaszlo-3.1 version) not working with 
my 
(older) IE browser I now see that this is due to use of <embed> rather than 
<object> 
in the written embed script created by embed.js.

Now embed.js might be edited to cope with older browsers, but I wonder if using 
<embed></embed> is the correct solution rather than standarding on 
<object></object>  which is compatible with most browsers.

I have found two interesting embed scripts which might be adapted to be 
compatible 
with embed.js.

The first is flashobject, reported in earlier thread ..

here ... http://blog.deconcept.com/flashobject.

Also flash satay here .. http://www.alistapart.com/articles/flashsatay/

...

Another neat approach which I have just found is here ..

http://blog.gilluminate.com/?b=20041208120812

This embed script works in my IE browser and also Firefox.

Here is an example of embed script which I have tested with copy-of-hello.lzx.

// ===========================================

<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=6,0,0,0"
width="100%" 
height="100%" 
name="lzapp"
id="lzapp" 
bgcolor="#ffffff"
salign="lt">
<param name="movie" value="copy-of-hello.lzx?lzt=swf" />
<!--[if !IE]> <--> 
<object type="application/x-shockwave-flash"
data="copy-of-hello.lzx?lzt=swf"  
width="100%" 
height="100%"> 
Description of Flash Content for screen readers
</object>
<!--> 
<![endif]-->
<!--[if IE]>
Description of Flash Content for screen readers
<![endif]-->
</object>

// ===========================================


So there are several cross-browser solutions to draw from as embed.js evolves.


DL
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to