<iframe id="ytplayer" type="text/html" width="640" height="360"
src="https://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1&origin=http://example.com"
frameborder="0"></iframe>
since April of 2018 because Google decided to give greater control
of playback to users.
You just need to add &mute=1 to your URL.
<iframe
className="w-[95%] h-[80%] box-shadow"
src="https://www.youtube.com/embed/MkrNEj4RrbA?autoplay=1&mute=1"
title="YouTube video player"
frameborder="0"
allow="accelerometer;fullScreen; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;"
allowFullScreen
></iframe>
Code Example |
---|
Html :: english alphabet |
Html :: Html.Raw blazor |
Html :: allow only positive integer in input type number |
Html :: how to show other website inside my website |
Html :: a tah |
Html :: add fav icon to website |
Html :: html align text right |
Html :: set textbox into center of div in bootstrap |
Html :: How to add images in select list |
Html :: html input only 4 digits |
Html :: html inline comment |
Html :: href new window html |
Html :: angular innerhtml |
Html :: ionic onfig.xml hide loader |
Html :: elementor icon controls |
Html :: tailwind css link |
Html :: adding meta social media tags |
Html :: fa fa pencil edit icon |
Html :: stop bubbling |
Html :: what file extension sould you use to save a website |
Html :: meta tag viewport |
Html :: html checkbox default checked |
Html :: jinja mark text as safe |
Html :: facebook seo meta tags |
Html :: href with new tab |
Html :: cdn material design icons |
Html :: html sound |
Html :: fa fa dropdown icon |
Html :: bottstrap starter template |
Html :: html ordered list |