 
             if (available && stage.stageVideos.length > 0) {
                 _stageVideo = stage.stageVideos[0];
+                _stageVideo.addEventListener(StageVideoEvent.RENDER_STATE, _onStageVideoStateChange)
                 _stageVideo.viewPort = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
                 _stageVideo.attachNetStream(_hls.stream);
             } else {

                _load(autoLoadUrl);
            }
        };

        protected function _onStageResize(event : Event) : void {
            stage.fullScreenSourceRect = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);

package org.mangui.chromeless {
    import org.mangui.hls.utils.Log;
    import org.mangui.hls.utils.ScaleVideo;
    import org.mangui.hls.model.AudioTrack;
    import org.mangui.hls.HLSSettings;
