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 ''; }