Hi Robert,

Adding Flash to a document is surprisingly hard. I'm glad Flash TML
worked for you.

Let me know if you or the community would like a port of the library
for JQuery?

On a secondary note, if you need something for detection checkout:
http://www.featureblend.com/javascript-flash-detection-library.html

Cheers,
Carl

On Sep 24, 10:23 am, Robert Koberg <[EMAIL PROTECTED]> wrote:
> FWIW,
>
> After trying jquery html() and similar methods, myDiv.innerHTML,  
> document.write, and every library available for writing out a flash  
> object that can coexist with jquery (and thickbox) and work on  
> windows, here is the only one that worked:
>
> http://www.featureblend.com/javascript-flash-html-generator-library.html
>
> -Rob
>
> On Sep 24, 2008, at 10:56 AM, Robert Koberg wrote:
>
>
>
> > Hi,
>
> > Clicking  a link and writing an FLV Flash player object:
>
> > <p><a href="#" onclick="changeFLV()">Test</a></p>
>
> > <div id="playerContainer"> </div>
>
> > <script type="text/javascript">
> > function changeFLV() {
> > //$("#playerContainer").html(
> >  document.getElementById("playerContainer").innerHTML = "<object  
> > data='FLVPlayer_Progressive.swf' height='1' type='application/x-
> > shockwave-flash' width='1'><param name='movie'  
> > value='FLVPlayer_Progressive.swf' id='FLVPlayer' valuetype='data'/
> > ><param id='flashvars-data' valuetype='data'  
> > value
> > ='&MM_ComponentVersion=1&skinName=ClearExternalAll&streamName=media/
> > sound/roker/Page8_1-2.flv&autoPlay=true&autoRewind=false'  
> > name='FlashVars'/><p>You need a newer version Flash Player to view  
> > videos.</p></object>";
> > }
> > </script>
>
> > works fine without jquery on the page. With jquery on the page it  
> > does not work. It still does not work if you use jquery methods to  
> > set the HTML on the page.
>
> > Is there some way to make this work? Or is it a bug?
>
> > To test, you can grab:
> >http://pearsonf.ipower.com/celeb-readings/FLVPlayer_Progressive.swf
> >http://pearsonf.ipower.com/celeb-readings/media/sound/roker/Page8_1-2...
>
> > thanks,
> > -Rob

Reply via email to