Embed Youtube video with muted Sound

August 7, 2017

Its Very Easy to Embed Any Youtube Video with Your Website. You tube Also Provide the embed code. You have to only Copy the iframe embed and Paste it as Per Your Website Design.

Youtube also Provide Customization option like a Height, Width, autoplay. If You want more Customization then You can use the Youtube Player API.

This is the tutorial for Beginners to when the Page was loaded then Youtube Video is Start with the Muted Sound. You can Increase Youtube video Sound as per you wish.

Paste the Following Code in HTML for Youtube API

Include this Script into your code.

Now we understand the Following Javascript code step by step.

The First thing is the videoId. If your Youtube video source is the https://www.youtube.com/watch?v=twZggnNbFqo Then Your videoId is the twZggnNbFqo

Coding Explanation
rel: 0 Hide/Show the Related Video
autoplay: 1 Autoplay Video when Page Loaded
controls: 1 Hide/Show the Video Control like a Play/Pause
showinfo: 0 Hide/Show the Video Title
modestbranding: 1 Hide/Show the Youtube Logo
loop: 1 Its use for the repeat Video
fs: 0 Hide/Show Full Screen Button
cc_load_policy: 0 Hide/Show Closed the Captions
iv_load_policy: 3 Hide/Show the Video Annotations

Karan Suthar

Surat, India

I'm Karan, the creator Behind the KTechBlog. I write Blogs in my Free Time. I ❤ to learn new Technologies and Share with Others. I'm Trying best effort to make KTechBlog useful for Everyone.