             CONFIG::LOGGING {
             Log.debug("HLSPlayTrait:dispose");
             }
-			_hls.removeEventListener(HLSEvent.PLAYBACK_STATE, _stateChangedHandler);
+            _hls.removeEventListener(HLSEvent.PLAYBACK_STATE, _stateChangedHandler);
             _hls.removeEventListener(HLSEvent.PLAYBACK_COMPLETE, _playbackComplete);
             super.dispose();
         }

            stop();
        }
    }
}

        }

        /** state changed handler **/
        private function _stateChangedHandler(event:HLSEvent):void {
            switch (event.state) {
                case HLSPlayStates.PLAYING:
                CONFIG::LOGGING {
                    Log.debug("HLSPlayTrait:_stateChangedHandler:setBuffering(true)");
                }
                    if (!streamStarted) {
                        streamStarted = true;
                        play();
                    }
