Blame

1595bd Ralph Thesen 2023-10-14 21:44:33
Added example on how to display an attached video file.
1
# Video Attachment
2
6f52ab Ralph Thesen 2026-03-15 11:59:57
updated Video Attachment with Video Embedding
3
## Using the Video Embedding
4
5
[Video Documentation](/-/help/plugins#video)
6
7
```
8
{{Video
9
|autoplay=on
10
|muted=true
11
|controls=true
12
/examples/Video%20Attachment/example.mp4
13
}}
14
```
15
16
{{Video
17
|autoplay=on
18
|muted=true
19
|controls=true
20
/examples/Video%20Attachment/example.mp4
21
}}
22
94add3 Ralph Thesen 2026-08-30 14:33:51
Document YouTube embedding on the Video example page
23
## YouTube
24
25
The same embedding renders a YouTube URL (`youtube.com/watch?v=…` or
26
`youtu.be/…`) as an embedded player. The playback flags map onto the YouTube
27
iframe parameters, so `controls`, `autoplay`, `muted` and `loop` still apply.
28
29
```
30
{{Video
31
|width=100%
32
https://www.youtube.com/watch?v=aqz-KE-bpKQ
33
}}
34
```
35
36
{{Video
37
|width=100%
38
https://www.youtube.com/watch?v=aqz-KE-bpKQ
39
}}
40
6f52ab Ralph Thesen 2026-03-15 11:59:57
updated Video Attachment with Video Embedding
41
## Via HTML
42
1595bd Ralph Thesen 2023-10-14 21:44:33
Added example on how to display an attached video file.
43
This page has a video file [example.mp4](/examples/Video%20Attachment/example.mp4) attached. You can add the video to the wiki page using a html block:
44
45
```html
46
<video width='100%' controls>
47
<source src="/examples/Video%20Attachment/example.mp4" type="video/mp4">
48
</video>
49
```
50
51
And get it ready to view like this:
52
53
<video width='100%' controls>
54
<source src="/examples/Video%20Attachment/example.mp4" type="video/mp4">
55
</video>