       _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

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

      if (stream)
        stream.volume = value
    }

    public function changeVolumeBy(delta : Number) : void

package goplayer
{
  import flash.utils.getTimer
  import flash.net.SharedObject
  
  import streamio.Stat

