Skip to content

Commit 51bdb5a

Browse files
tvvpmgkatsev
authored andcommitted
remove youtube wrapper on dispose, fix #347 (#394)
1 parent 5b6daa5 commit 51bdb5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Youtube.js

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ THE SOFTWARE. */
6464
this.el_.parentNode.className = this.el_.parentNode.className
6565
.replace(' vjs-youtube', '')
6666
.replace(' vjs-youtube-mobile', '');
67+
this.el_.remove();
6768
},
6869

6970
createEl: function() {

0 commit comments

Comments
 (0)