From 048255cb1d8b2f74d31886ae0447bd33101d990d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Sun, 7 Oct 2018 12:54:39 +0200 Subject: [PATCH] Fixed issue with allow autoplay not being included --- server/public/assets/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/public/assets/js/functions.js b/server/public/assets/js/functions.js index 111434a7..9ed2b72b 100644 --- a/server/public/assets/js/functions.js +++ b/server/public/assets/js/functions.js @@ -796,7 +796,7 @@ function disable_debug(){ function embed_code(autoplay, width, height, color, embed_videoonly, embed_localmode){ var autoplay_add = ""; - if(autoplay == "&autoplay") autoplay_add = 'allow="autoplay"'; + if(autoplay == "&autoplay=true") autoplay_add = 'allow="autoplay"'; return ''; }