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