Accessing the player from javascript

Apr 19, 2011 at 7:42 AM

Hi, I can access the JavascriptBridge successfully but the exposed properties do not give me fundamental informations like the original video size and the size needed from the control to render the video without stretching it.
I tried to use findName on the main surface but I always get null back. 

In fact I have to host the video inside an iframe and I need to resize the iframe with the control size. If I leave the object at 100% (width and height) IE9 resize the player at lower than 50% of the normal size, while Chrome render it at the correct size. So, at the end, the only solution is to put width and height to "inherit" and size the iFrame to the control size.

Any simple way to obtain these information without recompiling all the stuff?