And further FWIW,

Actually, I think the thing that made it work on windows was supplying the base param for the object...

<param name="base" value="http://theserver.com/app/"/>

There went about 16 hours down the tube...

it has been a great conversation.


On Sep 24, 2008, at 1:23 PM, Robert Koberg 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.flv


thanks,
-Rob


Reply via email to