fix: closed caption can't move when mutiplevideos in one page

This commit is contained in:
jerry
2018-11-05 10:34:13 +08:00
parent c24185ec98
commit a104eb8e8c

View File

@@ -1230,7 +1230,7 @@
},
listenForDragDrop: function() {
var captions = document.querySelector('.closed-captions');
var captions = this.captionDisplayEl['0'];
if (typeof Draggabilly === 'function') {
new Draggabilly(captions, {containment: true});