adjust DRM for laptop screens

This commit is contained in:
rlx 2011-10-24 16:38:19 +00:00
parent c4116ca17c
commit 4dd5107a48

View file

@ -1033,11 +1033,11 @@ Ox.VideoPlayer = function(options, self) {
function censor() {
if (self.options.type == 'play') {
self.$video
.brightness(self.censored ? 0.01 : self.options.brightness)
.brightness(self.censored ? 0.05 : self.options.brightness)
.volume(self.censored ? 0.01 : self.options.volume);
} else {
self.$brightness.css({
opacity: 1 - (self.censored ? 0.01 : self.options.brightness)
opacity: 1 - (self.censored ? 0.05 : self.options.brightness)
});
}
self.$copyrightIcon[self.censored ? 'show' : 'hide']();