We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999fb60 commit 4315a79Copy full SHA for 4315a79
不学习何以强国.js
@@ -171,7 +171,7 @@ function getVideoTag() {
171
let pauseButton = null;
172
var u = navigator.userAgent;
173
if(u.indexOf('Mac') > -1){//Mac
174
- if (iframe.innerHTML) {
+ if (iframe != null && iframe.innerHTML) {
175
//如果有iframe,说明外面的video标签是假的
176
video = iframe.contentWindow.document.getElementsByTagName("video")[0];
177
pauseButton = iframe.contentWindow.document.getElementsByClassName("prism-play-btn")[0];
0 commit comments