Embeded YouTube video must be autoplayed with voice..? Embeded YouTube video must be autoplayed with voice..? google-chrome google-chrome

Embeded YouTube video must be autoplayed with voice..?


+ "&mute=1" + "?autoplay=0" ;

Your querystring starts from autoplay. Querystrings start with ?. Additional queries are added with &. Mute attribute is probably being ignore as it is before the start of your querystring. Try the below. Also why you setting the src with js. can't you just set it in the html tag

+ "?mute=0&autoplay=1" ;

Updated

Try adding autoplay='true' muted='false' in the embed tag

Here is why chrome doesn't allow autoplay with sound as mentioned by @misorude

https://developers.google.com/web/updates/2017/09/autoplay-policy-changes