Uses property instead of jquery to hook "onplay" event of the large video.
This commit is contained in:
parent
4cf1f92e25
commit
875a7b6f4f
|
@ -179,7 +179,10 @@ class VideoContainer extends LargeContainer {
|
|||
this.$video.volume = 0;
|
||||
}
|
||||
|
||||
this.$video.on('play', onPlay);
|
||||
// This does not work with Temasys plugin - has to be a property to be
|
||||
// copied between new <object> elements
|
||||
//this.$video.on('play', onPlay);
|
||||
this.$video[0].onplay = onPlay;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue