 |
cp.myPlayer.resizeTo
cp.myPlayer.resizeTo ( width, height)
property type: function.
Hey, this is a killer. As of crossPlayer_basic 1.50 you can dynamically
resize the player while running. Due to limitations in the current Netscape
DOM the player is re-parsed when a player-resize is trigged. This results
in a quick flicker, but it is as close we can get. In MSIE on the other
hand, resizing works awsum.
See also the resizeBy - method.
Input goes as pixels and is corrsponding to the plug-ins video-area, meaning
NOT the width / height of the player itself.
|