 import org.osmf.events.LoadEvent;
 import org.osmf.events.MediaPlayerStateChangeEvent;
 import org.osmf.events.TimeEvent;
-
+import org.osmf.media.MediaPlayerState;
+
+import spark.components.mediaClasses.DynamicStreamingVideoSource;
 import spark.components.mediaClasses.MuteButton;
 import spark.components.mediaClasses.ScrubBar;
 import spark.components.mediaClasses.VolumeBar;

            pause();
        else
            play();
    }
    
    /**

            return videoDisplay.duration;
        else
            return 0;
    }
    
    //----------------------------------
    //  videoObject
    //----------------------------------
    
    [Inspectable(category="General", defaultValue="null")]
    
    /**
     *  @copy spark.components.VideoDisplay#videoObject
     * 
     *  @default null
     *  
     *  @langversion 3.0
     *  @playerversion Flash 10
     *  @playerversion AIR 1.5
     *  @productversion Flex 4
     */
    public function get videoObject():Video
    {
        if (videoDisplay)
            return videoDisplay.videoObject;
        else
            return null;
    }
    
    //----------------------------------
