Quellcode durchsuchen

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

j8
paweldomas vor 9 Jahren
Ursprung
Commit
875a7b6f4f
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4
    1
      modules/UI/videolayout/LargeVideo.js

+ 4
- 1
modules/UI/videolayout/LargeVideo.js Datei anzeigen

@@ -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
     /**

Laden…
Abbrechen
Speichern