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 sandbox attribute value ( allow-top-navigation) with < iframe > tag in HTML ? with example

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

How to use string in Solidity programming language ?

How to use enum in Solidity programming langauge ?

Tag is used to create inline frame ?