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

What is a < code > tag?

What is img scr or image scr or scr img ?

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

How do you create a header for a < table > in HTML?

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