mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-24 19:48:30 +00:00
3.5.321. Fix theater mode video height.
This commit is contained in:
parent
dca6f0f103
commit
3dcba207b4
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
<div class="list-header">3.5.321 <time datetime="2016-10-03">(2016-10-11)</time></div>
|
||||||
|
<ul class="chat-menu-content menu-side-padding">
|
||||||
|
<li>Fixed: Theater mode video player height.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<div class="list-header">3.5.320 <time datetime="2016-10-03">(2016-10-11)</time></div>
|
<div class="list-header">3.5.320 <time datetime="2016-10-03">(2016-10-11)</time></div>
|
||||||
<ul class="chat-menu-content menu-side-padding">
|
<ul class="chat-menu-content menu-side-padding">
|
||||||
<li>Fixed: Automatic theater mode should hopefully be working for everyone now.</li>
|
<li>Fixed: Automatic theater mode should hopefully be working for everyone now.</li>
|
||||||
|
|
|
@ -222,7 +222,7 @@ FFZ.prototype.setup_layout = function() {
|
||||||
height = size[1],
|
height = size[1],
|
||||||
host_height = size[2];
|
host_height = size[2];
|
||||||
|
|
||||||
return "<style>#player,.dynamic-player, .dynamic-player object, .dynamic-player video{width:" + width + "px !important;height:" + height + "px !important} .cn-hosted .dynamic-target-player,.cn-hosted .dynamic-target-player object,.cn-hosted #player, .cn-hosted .dynamic-target-player video{width:" + width + "px !important;height:" + host_height + "px !important}</style><style>.dynamic-player .player object, .dynamic-player .player video{width:100% !important; height:100% !important}</style>";
|
return "<style>.app-main:not(.theatre) #player,.dynamic-player, .dynamic-player object, .dynamic-player video{width:" + width + "px !important;height:" + height + "px !important} .cn-hosted .dynamic-target-player,.cn-hosted .dynamic-target-player object,.app-main:not(.theatre) .cn-hosted #player, .cn-hosted .dynamic-target-player video{width:" + width + "px !important;height:" + host_height + "px !important}</style><style>.dynamic-player .player object, .dynamic-player .player video{width:100% !important; height:100% !important}</style>";
|
||||||
}.property("playerSize"),
|
}.property("playerSize"),
|
||||||
|
|
||||||
ffzPortraitWarning: function() {
|
ffzPortraitWarning: function() {
|
||||||
|
|
|
@ -34,7 +34,7 @@ FFZ.msg_commands = {};
|
||||||
|
|
||||||
// Version
|
// Version
|
||||||
var VER = FFZ.version_info = {
|
var VER = FFZ.version_info = {
|
||||||
major: 3, minor: 5, revision: 320,
|
major: 3, minor: 5, revision: 321,
|
||||||
toString: function() {
|
toString: function() {
|
||||||
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue