Skip to content

Commit 464b387

Browse files
committed
Update flashViewer.user.js
1 parent bb90de1 commit 464b387

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

FlashViewer-HTML5 Video/flashViewer.user.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1642,7 +1642,9 @@
16421642
video.fvPopVideo = true;// 标记弹出中。
16431643
this.zoomLevel = 1;
16441644
video.addEventListener("wheel", this.scale.bind(this));
1645-
video.addEventListener("mousedown", this.videoMouseDown.bind(this), true);
1645+
if (vNodeName === "VIDEO") {
1646+
video.addEventListener("mousedown", this.videoMouseDown.bind(this), true);
1647+
}
16461648

16471649
// 很多网站加载flash为了兼容现代浏览器和ie,经常使用 object classid嵌套object或者embed的格式
16481650
var vPEIsObject;

0 commit comments

Comments
 (0)