     }
 
     private function onReady(event:StreamEvent):void {
-        _state = STOPPED;
-        dispatchEvent(event);
+		if (_state == PLAYING)
+		{
+			play();
+		} else
+		{
+			_state = STOPPED;
+		}
+		
+		dispatchEvent(event);
     }
 
     private function onLoaded(event:FragmentEvent):void {

import flash.utils.ByteArray;
import flash.utils.Timer;

import org.osmf.net.NetStreamCodes;

public class DashNetStream extends NetStream {
    private const MIN_BUFFER_TIME:Number = 5;

    }

    override public function play(...rest):void {
		if (typeof(rest[0]) == 'string' && rest[0] != '')
		{
			loadManifest(rest[0]);
			updateState(PLAY);
			return;
		}
		
        super.play(null);

        appendBytesAction(NetStreamAppendBytesAction.RESET_BEGIN);
