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
Post a Comment