Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

Embed video in a wiki page - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Wiki source code of Embed video in a wiki page

Last modified by hbpadmin on 2020/07/07 08:12

Hide last authors
hbpadmin 12.1 1 (% class="wikigeneratedid" %)
2 Embedding a video in a wiki page is fairly simple as most video hosting sites provide the HTML code to embed the video to your HTML page. The example below uses Youtube. Other video sites could be used but please note that those sites may use cookies and that adding videos from sites not listed in the EBRAINS Privacy Policy should not be done.
3
4 == Get the code to embed the video ==
5
6 The first thing to do is to get the code from the video site. The user usually gets the code by clicking on a 'share' button and copying the code in the 'embed' section.
7 Here is a Youtube example:
8
9
10 (% style="text-align:center" %)
11 [[image:youtube.png]]
12
13 == Insert an HTML macro in your wiki page ==
14
15 1. Open the XWiki Macro dialog by clicking on the cog icon in the editor toolbar
16 1. Search for the "HTML" macro and click select
17 1. Paste the code you got from the video site and click submit
18
19 (% style="text-align:center" %)
20 [[image:xwiki macro.png]]
21
22 == Save the page ==
23
24 Save and view the wiki page. The user should see the video embedded in your wiki page.