Remove the maximize button of MediaPlayback component

Several people have asked how to remove or make the maximize button invisible (set visibility to false) on the Media Playback component. The maximize button on the MediaPlayback component (at the upper right-hand corner) makes the FLV you stream full-screen. This can be useful, but if you have a layout that doesn't accomodate full-screen or maximized video, this can be a problem. After Google searches turning up nothing, we worked on a solution for awhile, and just figured it out. If you have a MediaPlayback component with the instance name mediaPlayback_mp, the following code unloads the maximize button so it's removed at runtime:

mediaPlayback_mp._chrome._toggleNE.unloadMovie();

Posted by jen on August 02, 2004 at 04:05 AM
Comments