How to use loop attribute with < video > tag in HTML for YouTube ? with example

 How to use loop attribute with < video > tag in HTML for youtube ? with example 


When you Add loop=1 meaning to let your 

video loop forever.


When we add Value 0 (default) meaning

  The video will play only once.


When we add Value  1 meaning  The video will

 loop (forever).


Video Tag YouTube - Loop Example 


<body>

<iframe width="420" height="315"

src="https://www.youtube.com/embed/YgbiysZ7vtY?

playlist=PgboytZ4vwY & loop=1">

</body>

</iframe>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

Smart contract code for Anyone can send coins to each other without a need for registering with a username and password with help of Ethereum keypair

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

What is href tag in HTML? with example

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

Is HTML used today?