Merge pull request #639 from tutugreen/patch_20191121_1

This commit is contained in:
DIYgod
2020-05-23 10:47:49 +08:00
committed by GitHub
+1
View File
@@ -427,6 +427,7 @@ class DPlayer {
const file = torrent.files.find((file) => file.name.endsWith('.mp4'));
file.renderTo(this.video, {
autoplay: this.options.autoplay,
controls: false
});
});
this.events.on('destroy', () => {