From ea4aabd4ea044016ddbfa24f5382a4626ea04243 Mon Sep 17 00:00:00 2001 From: FireMaskterK <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 28 Oct 2021 18:35:48 +0100 Subject: [PATCH] Disable autoplay in embeds. Closes #576 --- src/components/Player.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Player.vue b/src/components/Player.vue index 40ca7dd0..b5c0356b 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -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 = [];