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

This commit is contained in:
paweldomas 2016-01-26 14:58:58 -06:00
parent 4cf1f92e25
commit 875a7b6f4f
1 changed files with 4 additions and 1 deletions

View File

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