How to add responsive video from YouTube in blogger January 2025

 Hello everyone, welcome to Net Career.

This article is for how to embed any video in blogger with responsive feature. A video format which can arrange itself in all aspect ratio devices.

<iframe width="560" height="315" src="https://www.youtube.com/embed/T6uvSn8myZQ?si=uK86OvUIc21FE3cJ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Uper jo code hai, wo code mere ek YouTube channel uploaded video ka code hai.

Google ke developer site se jo code mila:

https://developers.google.com/youtube/youtube_player_demo

By Default code: 

<iframe id="ytplayer" type="text/html" width="720" height="405"
src="https://www.youtube.com/embed/M7lc1UVf-VE"
frameborder="0" allowfullscreen>

Code after Updation:

<iframe id="ytplayer" type="text/html" width="720" height="405"
src="https://www.youtube.com/embed/T6uvSn8myZQ?si=uK86OvUIc21FE3cJ?autoplay=1&cc_load_policy=1&loop=1"
frameborder="0" allowfullscreen>


Comments