Skip to content

Commit 9ca384d

Browse files
authored
HTML Videos and Assembly (ronreiter#686)
* Added Video.md * Created learnassembly.org x86 Assembly * Update Welcome.md * Update Welcome.md
1 parent aaff942 commit 9ca384d

File tree

2 files changed

+37
-9
lines changed

2 files changed

+37
-9
lines changed

tutorials/learn-html.org/en/Video.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
Tutorial
22
--------
33

4-
This page is empty. You are welcome to contribute the content by sending me a pull request:
4+
HTML5 includes the `<video>` tag. It is used for displaying videos.
55

6-
[[https://github.com/ronreiter/interactive-tutorials]]
6+
<video width="400" height="400" controls>
7+
<source src="video.mp4" type="video/mp4">
8+
</video>
9+
10+
### Code explained
11+
12+
`<video>` is the main tag that is used for displaying videos.
13+
`controls` adds buttons for controlling the video.
14+
`<source>` adds a file.
15+
`src` specifies the file location on the server.
16+
`type` specifies the file type (In this case MP4)
717

818
Exercise
919
--------
1020

11-
This page does not have an exercise yet. You are welcome to contribute one by sending me a pull request:
12-
13-
[[https://github.com/ronreiter/interactive-tutorials]]
21+
Add `myvideo.mp4` to this website with height 600 and width 649.
1422

1523

1624
Tutorial Code
@@ -21,6 +29,7 @@ Tutorial Code
2129
<head>
2230
</head>
2331
<body>
32+
2433
</body>
2534
</html>
2635

@@ -30,10 +39,11 @@ Expected Output
3039
<!DOCTYPE html>
3140
<html>
3241
<head>
33-
<title>Hello, World!</title>
3442
</head>
3543
<body>
36-
<p>Hello, World!</p>
44+
<video height="600" width="649" controls>
45+
<source src="myvideo.mp4" type="video/mp4>
46+
</video>
3747
</body>
3848
</html>
3949

@@ -43,9 +53,10 @@ Solution
4353
<!DOCTYPE html>
4454
<html>
4555
<head>
46-
<title>Hello, World!</title>
4756
</head>
4857
<body>
49-
<p>Hello, World!</p>
58+
<video height="600" width="649" controls>
59+
<source src="myvideo.mp4" type="video/mp4>
60+
</video>
5061
</body>
5162
</html>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Welcome
2+
3+
Welcome to the learnassembly.org free interactive x86 Assembly tutorial.
4+
5+
Assembly is a programming language used in really low level software such as Operating Systems, Compilers.
6+
7+
learnassembly.org is still under construction - If you wish to contribute tutorials, please click on `Contributing Tutorials` down below.
8+
9+
### Learn the Basics
10+
11+
- Hello, World!
12+
13+
### Advanced tutorials
14+
15+
### Contributing Tutorials
16+
17+
Read more here: [[Contributing Tutorials]]

0 commit comments

Comments
 (0)