[jQuery] Re: bug: jquery and writing an flv player flash object on windows (vista)
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: pa 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=1skinName=ClearExternalAllstreamName=media/ sound/roker/Page8_1-2.flvautoPlay=trueautoRewind=false' name='FlashVars'/pYou 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
[jQuery] Re: bug: jquery and writing an flv player flash object on windows (vista)
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: pa 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=1skinName=ClearExternalAllstreamName=media/ sound/roker/Page8_1-2.flvautoPlay=trueautoRewind=false' name='FlashVars'/pYou 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
[jQuery] Re: bug: jquery and writing an flv player flash object on windows (vista)
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: pa 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=1skinName=ClearExternalAllstreamName=media/ sound/roker/Page8_1-2.flvautoPlay=trueautoRewind=false' name='FlashVars'/pYou 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