Browse Source

Merge pull request #639 from tutugreen/patch_20191121_1

DIYgod 5 years ago
parent
commit
5ffdf141d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/js/player.js

+ 1 - 0
src/js/player.js

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