浏览代码

Fix video thumbnails for Qt on Linux.

master
yanas 8 年前
父节点
当前提交
f824f78db9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      modules/UI/videolayout/SmallVideo.js

+ 2
- 1
modules/UI/videolayout/SmallVideo.js 查看文件

@@ -543,7 +543,8 @@ SmallVideo.prototype.initBrowserSpecificProperties = function() {
543 543
 
544 544
     var userAgent = window.navigator.userAgent;
545 545
     if (userAgent.indexOf("QtWebEngine") > -1
546
-        && userAgent.indexOf("Windows") > -1) {
546
+        && (userAgent.indexOf("Windows") > -1
547
+            || userAgent.indexOf("Linux") > -1)) {
547 548
         $('#' + this.videoSpanId).css("overflow", "hidden");
548 549
     }
549 550
 };

正在加载...
取消
保存