浏览代码

Uses property instead of jquery to hook "onplay" event of the large video.

j8
paweldomas 9 年前
父节点
当前提交
875a7b6f4f
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      modules/UI/videolayout/LargeVideo.js

+ 4
- 1
modules/UI/videolayout/LargeVideo.js 查看文件

@@ -179,7 +179,10 @@ class VideoContainer extends LargeContainer {
179 179
             this.$video.volume = 0;
180 180
         }
181 181
 
182
-        this.$video.on('play', onPlay);
182
+        // This does not work with Temasys plugin - has to be a property to be
183
+        // copied between new <object> elements
184
+        //this.$video.on('play', onPlay);
185
+        this.$video[0].onplay = onPlay;
183 186
     }
184 187
 
185 188
     /**

正在加载...
取消
保存