Disabled video autoplay for students

This commit is contained in:
jmclaus
2013-09-18 18:34:53 +02:00
parent c65e21c779
commit 7af892e66a
4 changed files with 7 additions and 4 deletions

View File

@@ -420,12 +420,15 @@ function (HTML5Video) {
this.videoPlayer.player.setPlaybackRate(this.speed);
}
/* The following has been commented out to make sure autoplay is
disabled for students.
if (
!onTouchBasedDevice() &&
$('.video:first').data('autoplay') === 'True'
) {
this.videoPlayer.play();
}
*/
}
function onStateChange(event) {