javascript - jquery can't find firebreath object -
i'm creating web video player using firebreath compile c/c++ codec browser plugin. plugin loaded ok , works (start, stop video etc.). next step implement full screen require change width , height of plugin object (plus other stuff of course), jquery seems unable find it.
this html:
<div id="player0" class="playerui ui-draggable"> <object id="plugin0" type="application/x-webplayer" style="width: 500px; height: 300px;"> </object><br> </div>
i dynamically resize object when try both
jquery("#plugin0")
and
document.getelementbyid("#plugin0")
i []
(null guess)
if try jquery('object')
[typeerror]
on other hand if try handle player0
jquery works fine. missing?
thanks!
there lot of reasons why, jquery doesn't work when wrapped around firebreath plugin object tag; spent 8 hours working on issue once , determined wasn't big enough deal keep working on. recommend don't this. if need move or position it, make 100% x 100% , put in div , move that, it'll save lot of grief.
Comments
Post a Comment