In this tutorial we will learn how to fix a common error “www.youtube.com refused to connect” that comes when we try to embed youtube videos in blog pages or any website’s html page. Please watch the below tutorial to fix this error quickly.
Following this the code to embed any youtube video in html page or blog:
<div style=”text-align: center;”><iframe allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=”” frameborder=”0″ height=”315″ src=”https://www.youtube.com/embed/kEhMD4Q2Seg” title=”YouTube video player” width=”560″></iframe></div>
If you find this tutorial useful so please like this tutorial and subscribe to my youtube channel to learn more.