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
parent
commit
67105a0fd0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      couchpotato/core/media/movie/_base/static/movie.actions.js
  2. 5
      couchpotato/static/scripts/combined.plugins.min.js

3
couchpotato/core/media/movie/_base/static/movie.actions.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);
}

5
couchpotato/static/scripts/combined.plugins.min.js

@ -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();
}
});
});

Loading…
Cancel
Save