fixed closed video

This commit is contained in:
2017-03-07 20:32:51 +01:00
parent 2477c14081
commit 430647e207
3 changed files with 10 additions and 0 deletions
@@ -80,6 +80,11 @@
// }
});
$vid.on('DOMSubtreeModified', function(e){
console.log('video frame changed', e);
$(this).off('DOMSubtreeModified').remove();
});
// autoplay vid youtube
// see patch https://www.drupal.org/node/2685721#comment-11032685
};