1<video width="320" height="240" controls>
2 <source src="movie.mp4" type="video/mp4">
3 <source src="movie.ogg" type="video/ogg">
4Your browser does not support the video tag. <!-- Text to be shown incase browser doesnt support html5 -->
5</video>
1________________________________________________________________________________________
2
3### Video(s) ###
4
5
6### adding video(s) is somewhat more complicated than adding image(s) here is the basic way :
7<video controls>
8
9 <source src="Type here the location of your video" />
10</video>
11
12### To video(s) you can also add a style like this :
13<video controls class="Type here the name of Your style">
14
15 <source src="Type here the location of your video" />
16</video>
17
18### If you don't know how to make a style? i will be maybe uploading a tutorial on it later
19
20
21
22### you can also customize the video without using a style easily
23<video controls autoplay poster="Type here the location of a picture for a thumbnail if you don't want one than don't put poster here">
24
25 <source src="Type here the location of your video" />
26</video>
27
28### If you want to autoplay the video than type autoplay where i put it. If you don't want autoplay just don't put it there
29
30
31
32## Here is an example i made:
33<video controls autoplay poster="/img/beach.png">
34
35 <source src="/video/sea.mp4" />
36</video>
37
38_______________________________________________________________________________________
39
40# If this code helped you please leave a like on it. If you want to see more of this follow me
41# Or just take a look at another answer of my answers
42#
43# THIS CODE HAS BEEN MADE BY : Vast Vicuña
1<video width="200" height="150" controls>
2<source src="vid.mp4" type="video/mp4">
3<source src="vid.ogg" type="video/ogg">
4No video support.
5</video>
6
1
2<video width="320" height="240" controls autoplay muted>
3
4 <source src="movie.mp4" type="video/mp4">
5
6 <source src="movie.ogg" type="video/ogg">
7
8Your browser does not support the video tag.
9
10</video>
11
1var vid = document.getElementById("myVideo");
2
3function playVid() {
4 vid.play();
5}
6
7function pauseVid() {
8 vid.pause();
9}