Posts

Showing posts with the label video tag

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>

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>

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

 How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example  When you add or use autoplay attribute for your website development by adding value autoplay =1 to the YouTube URL.then video is automatically started when any unknown or unique visitor are visiting in your website . However, automatically starting a video is annoying for your visitors <html> <body> <iframe width="420" height="315" src="https://www.youtube.com/embed/tgbNymZ7vqY? autoplay=1&mute=1 "> </iframe> </body> </html> When you apply both attribute with YouTube URL then Here is the effect after giving value to both of the attribute mute and Autoplay . Add mute =1 after autoplay =1 to let your video start playing automatically (but muted). Example  <iframe width="560" height="315"  src="https://www.youtube.com/embed/2jg1bJQaYjg" autoplay=1 & mute=1 "   title="You...

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>

How to use < video > tag with preload attribute in HTML ? with example

 How to use < video > tag with preload attribute in HTML ? with example  Preload attributes is used for   the video  should be loaded when the page loads. Example of <video> tag with preload attribute and controls attribute  <body> <video controls preload ="none">   <source src="techforum.mp4" type="video/mp4"> </video> </body>

How to use < video > tag with muted attribute in HTML ? with Example

How to use < video > tag with muted attribute in HTML ? with Example     Muted attribute is a boolean attribute.  When present, it specifies that the audio output of the video should be muted.we also use controls attribute with mute attributes for performing action in HTML Example  <video controls muted >   <source src="techforum.mp4" type="video/mp4"> </video>

How to use < video > tag with controls attribute in HTML ? with Example

 How to use < video > tag with controls attribute in HTML ? with Example  Video controls should be displayed (such as a play/pause button etc) Play , Pause  ,Seeking  ,Volume,  Full-screen toggl e Captions/Subtitles (when available) Track (when available) Example of < video > tag with controls attribute    <video controls>   <source src="movie.mp4" type="video/mp4"> </video>

How to use < video > tag with autoplay attribute in HTML ? with example

 How to use < video > tag with autoplay attribute in HTML > with example  Autoplay attribute we use to HTML  the video will start playing as soon as it is ready . Example  <body> <video controls autoplay>   <source src="tech.mp4" type="video/mp4">   </video> </body>

What is the syntax of poster attribute with < video > tag in HTML ?

 What is the syntax of poster attribute with < video > tag in HTML ? Syntax  <video poster="URL"> You can use both type of url with < video > tag  and  poster attribute An absolute URL - Points to another web site  (e.g:  href="http://www.tech.thinkforu.org/tech.png") A relative URL - points to a file within a web site (like href="poster.jpg")

How to use < Video > tag with poster attribute in HTML ? with example

 How to use < Video > tag with poster attribute in HTML ? with example   The poster attribute specifies an image to be  shown while the video is downloading. Example: <html> <body> <video width="320" height="240"  poster="/image/techthinkforu_tech.png" controls>    <source src="tech.mp4" type="video/mp4"> </video> </body> </html>

What is < Video > Tag in HTML5 ?

 What is < Video > Tag in HTML5 ? The <video> tag is used to embed video content in a document, such as a movie clip or other video streams   and it has several video sources .Now also you can embed your YouTube video content on your website or web pages . Example: <html> <head>       <title>HTML video Tag</title>    </head>    <body>       <p>Ask your first Question in (tech.thinkforu.org)</p>       <br />              <video width = "600" height = "300" controls>          <source src = "/html/techthinkforu.mp4"  type = " video /mp4">          This browser doesn't support video tag.       </video>    </body> </html>