|
@@ -427,6 +427,7 @@ class DPlayer {
|
|
const file = torrent.files.find((file) => file.name.endsWith('.mp4'));
|
|
const file = torrent.files.find((file) => file.name.endsWith('.mp4'));
|
|
file.renderTo(this.video, {
|
|
file.renderTo(this.video, {
|
|
autoplay: this.options.autoplay,
|
|
autoplay: this.options.autoplay,
|
|
|
|
+ controls: false
|
|
});
|
|
});
|
|
});
|
|
});
|
|
this.events.on('destroy', () => {
|
|
this.events.on('destroy', () => {
|