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

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


 Add controls = 0 to not display controls in the

 video player you can also use with your YouTube video but 

not display


When add Value 0 in controls attribute meaning 

Player controls does not display.


When add Value 1 in controls attribute meaning   

(default): Player controls display.


Value = 0 Example 


<body>

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

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

controls=0">

</iframe>

</body>


Value = 1 Example 

<body>

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

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

controls=1">

</iframe>

</body>

Comments

Last 7 Days

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

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

How to use Local Variable for whose values are present till function is executing in solidity ?

How to add Amazon website inside iframe?

How to use comments in Solidity programming language ?

How to use string in Solidity programming language ?

How to use arrays in Solidity programming language ?