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
commit 5ffdf141d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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', () => {