html < video > tag youtube src | html5 < video > tag youtube

 HTML video tag youtube src | HTML5 video tag youtube


Step 1 : Upload the video to YouTube


Step 2 : Take a note of the video id


Step 3 : Define an <iframe> element in your web page


Step 4 : Let the src attribute point to the video URL


Steps 5: Use the width and height attributes

 to specify the dimension of the player


Step 6: Add any other parameters to the URL


Example : 

<html>

<body>

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

src="https://www.youtube.com/embed/tgbNymZ7vqY">

</iframe>

</body>

</html>

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

How to use enum in Solidity programming langauge ?

How use valign in HTML?

How to use string in Solidity programming language ?