How to insert a video in HTML? [closed]

-5

I can not insert a video on my page since I was even included in w3school and it did not work. I do not want to insert a video from youtube, I want to insert one that is in my folder.

    
asked by anonymous 22.07.2017 / 22:21

2 answers

3

Before HTML5, a video can only be played in a browser with a plug-in (such as flash).

The HTML5 element specifies a standard way to embed a video in a Web page.

<!DOCTYPE html>
<html>
<body>

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

</body>
</html>
    
22.07.2017 / 22:48
1
    <video width="320" height="240" controls>
       <source src="caminho para o video/movie.mp4" type="video/mp4">
   </video>
    
22.07.2017 / 22:33