adjust DRM for laptop screens
This commit is contained in:
parent
c4116ca17c
commit
4dd5107a48
1 changed files with 2 additions and 2 deletions
|
@ -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']();
|
||||
|
|
Loading…
Reference in a new issue