diff --git a/src/com/videojs/VideoJSModel.as b/src/com/videojs/VideoJSModel.as index 42801f21..3051d93c 100644 --- a/src/com/videojs/VideoJSModel.as +++ b/src/com/videojs/VideoJSModel.as @@ -26,6 +26,7 @@ package com.videojs{ private var _currentPlaybackType:String; private var _videoReference:Video; private var _lastSetVolume:Number = 1; + private var _muted:Boolean = false; private var _provider:IProvider; // accessible properties @@ -285,15 +286,17 @@ package com.videojs{ } public function get muted():Boolean{ - return (_volume == 0); + return _muted; } public function set muted(pValue:Boolean):void { if(pValue){ var __lastSetVolume:Number = _lastSetVolume; + _muted = true; volume = 0; _lastSetVolume = __lastSetVolume; } else{ + _muted = false; volume = _lastSetVolume; } }