patch:添加对 Clappr 的支持

About: Maximize Video [Preview]

有的网站使用 Clappr,点击全屏后会被还原成默认播放器

--- maximize_video.user.js.orig 2019-12-01 01:23:52.727300705 +0800
+++ maximize_video.user.js      2019-12-01 01:24:37.411803471 +0800
@@ -39,7 +39,7 @@
     };

     //通用html5播放器
-    var generalPlayerRules = ['.dplayer', '.video-js', '.jwplayer'];
+    var generalPlayerRules = ['.dplayer', '.video-js', '.jwplayer', '[data-player]'];

     if (window.top !== window.self) {
         gv.isIframe = true;

Komentáre

Prihlásiť saaleboRegistrovať pre komentovanie.