Browse Source
Merge pull request #7277 from DorianScholz/develop
allow watching of trailer in fullscreen in firefox
pull/7126/merge
Ruud Burger
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
3 deletions
-
couchpotato/core/media/movie/_base/static/movie.actions.js
-
couchpotato/static/scripts/combined.plugins.min.js
|
|
@ -424,7 +424,8 @@ MA.Trailer = new Class({ |
|
|
|
var self = this; |
|
|
|
|
|
|
|
new Element('iframe', { |
|
|
|
'src': 'https://www.youtube-nocookie.com/embed/'+self.video_id+'?rel=0&showinfo=0&autoplay=1&showsearch=0&iv_load_policy=3&vq=hd720' |
|
|
|
'src': 'https://www.youtube-nocookie.com/embed/'+self.video_id+'?rel=0&showinfo=0&autoplay=1&showsearch=0&iv_load_policy=3&vq=hd720', |
|
|
|
'allowfullscreen': 'true' |
|
|
|
}).inject(self.container); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1301,7 +1301,8 @@ MA.Trailer = new Class({ |
|
|
|
watch: function() { |
|
|
|
var self = this; |
|
|
|
new Element("iframe", { |
|
|
|
src: "https://www.youtube-nocookie.com/embed/" + self.video_id + "?rel=0&showinfo=0&autoplay=1&showsearch=0&iv_load_policy=3&vq=hd720" |
|
|
|
src: "https://www.youtube-nocookie.com/embed/" + self.video_id + "?rel=0&showinfo=0&autoplay=1&showsearch=0&iv_load_policy=3&vq=hd720", |
|
|
|
allowfullscreen: "true" |
|
|
|
}).inject(self.container); |
|
|
|
} |
|
|
|
}); |
|
|
@ -3812,4 +3813,4 @@ Page.Wizard = new Class({ |
|
|
|
self.el.getElement(".advanced_toggle").destroy(); |
|
|
|
self.el.getElement(".section_nzb").hide(); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|