Blame
|
1 | # Video Attachment |
||||||
| 2 | ||||||||
|
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 | ||||||||
| 23 | ## Via HTML |
|||||||
| 24 | ||||||||
|
25 | 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: |
||||||
| 26 | ||||||||
| 27 | ```html |
|||||||
| 28 | <video width='100%' controls> |
|||||||
| 29 | <source src="/examples/Video%20Attachment/example.mp4" type="video/mp4"> |
|||||||
| 30 | </video> |
|||||||
| 31 | ``` |
|||||||
| 32 | ||||||||
| 33 | And get it ready to view like this: |
|||||||
| 34 | ||||||||
| 35 | <video width='100%' controls> |
|||||||
| 36 | <source src="/examples/Video%20Attachment/example.mp4" type="video/mp4"> |
|||||||
| 37 | </video> |
|||||||
