  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  package org.mangui.osmf.plugins.traits {
     import org.mangui.hls.HLS;
-	import org.mangui.hls.constant.HLSPlayStates;
+    import org.mangui.hls.constant.HLSPlayStates;
     import org.mangui.hls.event.HLSEvent;
     import org.osmf.traits.PlayState;
     import org.osmf.traits.PlayTrait;

        }

        /** 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();
                    }

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