Full width home advertisement

Travel the world

Climb the mountains

Post Page Advertisement [Top]

                      Play video using HTML 
 welcome, I glad to see you here.Today I am going to show you  how to play a video using html.
Second point is included that how to embed YouTube videos and play with different format. 
so lets start ...

IF YOU WANT TO WATCH VIDEO THAT HOW TO PLAY THEN PLEASE WATCH FROM BELOW





first of all open your pc...

Steps-:

1-: Make a folder anywhere in your PC
2-: Open that folder and make extension  of html
click right button of your mouse and click on text document .

 3-:make html extension file


4-: now paste your video in that file


5-: now edit your html file and write bellow code..
  • <html>
  • <head><iframe width="1000" height="500" src="path of your video file">
  • </iframe>
  • </head>
  • </html>
now run your html extension with any browser..
CONGRATS....
you have done your video is playing now in a browser using HTML
How to embed YouTube video using HTML
 steps-:
1-:copy the url of YouTube video 
ex-https://www.youtube.com/watch?v=IZPF3sXplXI&t=70s

2-now replace /watch?v= with embed
3-now your url will be
https://www.youtube.com/embed/IZPF3sXplXI&t=70s 
4-: now paste this url instead of path of the file into your code ..
ex. 

    • <html>
    • <head><iframe width="1000" height="500" src="https://www.youtube.com/embed/IZPF3sXplXI&t=70s ">
    • </iframe>
    • </head>
    • </html>
  
THANK YOU FOR READING THIS ARTICLE.....


No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib