Disable autoplay in embeds.

Closes #576
This commit is contained in:
FireMaskterK 2021-10-28 18:35:48 +01:00
parent f7a566c70e
commit ea4aabd4ea
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -51,7 +51,7 @@ export default {
},
computed: {
shouldAutoPlay: _this => {
return _this.getPreferenceBoolean("playerAutoPlay", true);
return _this.getPreferenceBoolean("playerAutoPlay", true) && !_this.isEmbed;
},
preferredVideoCodecs: _this => {
var preferredVideoCodecs = [];