소스 검색

Merge pull request #802 from jitsi/fix-video-linux-qt

Fix video thumbnails for Qt on Linux.
j8
Дамян Минков 9 년 전
부모
커밋
49cc4ae087
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
 };

Loading…
취소
저장