       _movie = movie
       this.bitratePolicy = bitratePolicy
       this.enableRTMP = enableRTMP
-      
+
+      connection.listener = this
+
       Stat.view(movie.id)
 
-      connection.listener = this
+      try
+        { sharedObject = SharedObject.getLocal("player") }
+      catch (error : Error)
+        {}
+
+      if (sharedObject && sharedObject.size > 0)
+        volume = sharedObject.data["volume"]
+      else
+        volume = DEFAULT_VOLUME
     }
 
     public function get movie() : Movie

    private var stream : FlashNetStream = null
    private var metadata : Object = null

    private var _volume : Number = DEFAULT_VOLUME
    private var savedVolume : Number = 0
    private var _paused : Boolean = false
    private var _buffering : Boolean = false

    {
      _volume = Math.round(clamp(value, 0, 1) * 100) / 100

      if (sharedObject)
        sharedObject.data["volume"] = volume

      if (stream)
        stream.volume = volume
    }

    public function changeVolumeBy(delta : Number) : void
