Wiki source code of Video einbinden (OPAL)

Last modified by Anna Paul-Hasenfuss on 10.05.2025

Show last authors
1 {{section}}
2 {{column width="60%"}}
3 You can support the learning process visually or auditorily with a short video or audio excerpt. These types of media can be used in different ways in a course or course element. Apart from file storage, which is less suitable for larger media files, you can also provide users with a link or play media directly in the course element.
4
5 A very simple way to integrate media is via the internal text editor. This page offers step-by-step instructions on how to do this.
6
7 {{note title="Note"}}
8 Each media format can be played depending on the device and browser used. We recommend using the mp3 or mp4 formats.
9 {{/note}}
10 {{/column}}
11
12 {{column width="30%"}}
13 {{panel title="Inhalt"}}
14 {{toc start="2"/}}
15 {{/panel}}
16 {{/column}}
17
18
19 {{/section}}
20
21 == Make videos available via Embed Code ==
22
23
24 This option is suitable for videos that should not be uploaded to the OPAL learning platform because they are already available elsewhere. A video embedded in this way is displayed in the course view with a preview image. The video can be started directly from there by clicking the Play button. Users do not have to switch to another page or another tab.
25
26 [[image:attach:Kursrun - eingebettetes Video_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
27
28
29 To embed a video on an internal page, proceed as follows:
30
31 (% class="wrapped" data-snooker-col-series="numbers" data-snooker-locked-cols="0" %)
32 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
33 (((
34 1
35 )))|(((
36 First, you need the **Embed Code** of the video. You can usually find this code in the editing area of your video platform. The[[ Finding Embed Codes>>doc:.Einbettungscode finden.WebHome||shape="rect"]] page describes where you can copy this code for individual platforms. Save the code to your clipboard.
37 )))|(((
38 (% class="content-wrapper" %)
39 (((
40 [[image:attach:VCS - Einbettungscode_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
41 )))
42 )))
43 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
44 (((
45 2
46 )))|(((
47 Now open the **text editor**, e.g. in a single-page course element, to which you want to insert the video. Select **Insert** from the tool area of the text editor. This opens a list from which you can select the **media** option.
48 )))|(((
49 (% class="content-wrapper" %)
50 (((
51 [[image:attach:Tiny - Video einfügen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
52 )))
53 )))
54 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
55 (((
56 3
57 )))|(((
58 In the dialogue that opens, select the displayed **Embed** tab. Enter your embed code in the text field and close the dialogue with **OK**.
59 )))|(((
60 (% class="content-wrapper" %)
61 (((
62 [[image:attach:Tiny - Einbettungscode_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
63 )))
64 )))
65 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
66 (((
67 4
68 )))|(((
69 A placeholder for the video will then appear in the text field. Save your page with **save and close**.
70 )))|(((
71 (% class="content-wrapper" %)
72 (((
73 [[image:attach:Tiny - Schließen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
74 )))
75 )))
76 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
77 (((
78 5
79 )))|(((
80 The editor view of the page closes, and you will see the playable video on the displayed page in the course view.
81 )))|(((
82 (% class="content-wrapper" %)
83 (((
84 [[image:attach:Kursrun - eingebettetes Video_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
85 )))
86 )))
87
88 {{info}}
89 [[image:LMS.Benutzerhandbuch OPAL.Lehren.Weitere Funktionen.Texteditor.Video einbinden.Einbettungscode finden.WebHome@Icon_Logo VCS.png||data-xwiki-image-style="img-icon" height="60" width="103"]]
90
91 If you use a video from the Videocampus Sachsen for embedding, please check the options set there for your medium in the “Visibility of publication” area. **At least the “hidden” and “allow anonymous access” options** must be activated for the video to be visible in OPAL.
92
93 Here is a small overview of the other options available there:
94
95 * Private: Not available to other users
96 * Hidden (if applicable + Anonymous): Can be found via a link
97 * Public (if applicable + Anonymous): Can be found via the Videocampus’s media overview
98 * Anonymous: Access is also possible without login. This is important for embedding media on other websites.
99 {{/info}}
100
101 {{info}}
102 By using an embedded code, other content that is available via URL can also be integrated into an HTML page. You can find some application examples here [[Embed Content>>doc:LMS.Benutzerhandbuch OPAL.Lehren.Weitere Funktionen.Texteditor.Inhalte einbetten.WebHome]].
103 {{/info}}
104
105 == How to insert a video link ==
106
107
108 If you do not want to present the video prominently, as it is more of a supplement to the text, you can integrate the video/audio file as a link. In this case, users are shown a link to open the video in a new browser tab if they want to.
109
110 [[image:attach:Kursrun - Link_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
111
112
113 To insert a video link, proceed as follows:
114
115 (% class="wrapped" data-snooker-col-series="numbers" data-snooker-locked-cols="0" %)
116 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
117 (((
118 1
119 )))|(((
120 (% class="content-wrapper" %)
121 (((
122 Open the text editor and create or edit the text. Select the **Insert link** icon[[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Link.png||data-xwiki-image-style="img-icon"]]from the menu bar of the editor.
123 )))
124 )))|(% rowspan="2" %)(% rowspan="2" %)
125 (((
126 (% class="content-wrapper" %)
127 (((
128 [[image:attach:Tiny - Link einfügen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
129 )))
130 )))
131 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
132 (((
133 2
134 )))|(((
135 (% class="content-wrapper" %)
136 (((
137 A dialogue opens in which you can directly enter the link address. Alternatively, you can also access all linkable files via the[[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Durchsuchen.png||data-xwiki-image-style="img-icon"]]icon at the end of the URL line.
138 )))
139 )))
140 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
141 (((
142 3
143 )))|(((
144 (% class="content-wrapper" %)
145 (((
146 The file selection dialogue opens. Use the Add button [[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Plus.png||data-xwiki-image-style="img-icon"]] to select the relevant target file or the Upload button[[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Hochladen.png||data-xwiki-image-style="img-icon" height="27" width="29"]]to upload a new file, which can then also be selected.
147 )))
148 )))|(((
149 (% class="content-wrapper" %)
150 (((
151 [[image:attach:Tiny - Datei auswählen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
152 )))
153 )))
154 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
155 (((
156 4
157 )))|(((
158 After that, you can optionally enter the required link text to be displayed on the page instead of the URL. Furthermore, you can specify an alternative title and the target of the link. Confirm your entries with OK and save the page with **save and close**.
159 )))|(((
160 (% class="content-wrapper" %)
161 (((
162 [[image:attach:Tiny - Link konfigurieren_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
163 )))
164 )))
165 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
166 (((
167 5
168 )))|(((
169 The editor view of the page closes, and you will see the inserted link on the displayed page in the course view.
170 )))|(((
171 (% class="content-wrapper" %)
172 (((
173 [[image:attach:Kursrun - Link_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
174 )))
175 )))
176
177 == How to insert an uploaded video directly ==
178
179 If a video or audio file is already available in the course storage folder, it can also be displayed in the page text in a playable format. This option is useful if the medium has not yet been uploaded to a video platform.
180
181 [[image:attach:Kursrun - Video direkt_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
182
183
184 To insert a video in this way, proceed as follows:
185
186 (% class="wrapped" data-snooker-col-series="numbers" data-snooker-locked-cols="0" %)
187 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
188 (((
189 1
190 )))|(((
191 Open the text editor and go to the position in the text where the medium should be displayed.
192 )))|(% rowspan="2" %)(% rowspan="2" %)
193 (((
194 (% class="content-wrapper" %)
195 (((
196 [[image:attach:Tiny - Video einfügen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
197 )))
198 )))
199 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
200 (((
201 2
202 )))|Click on **Insert** in the menu area and then on **Media**.
203 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
204 (((
205 3
206 )))|(((
207 (% class="content-wrapper" %)
208 (((
209 In the dialogue that opens, you can enter the source of the link. To display all linkable files, click on the browse icon[[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Durchsuchen.png||data-xwiki-image-style="img-icon"]]next to Source.
210 )))
211 )))|(((
212 (% class="content-wrapper" %)
213 (((
214 [[image:attach:Tiny - Dialog Video einfügen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
215 )))
216 )))
217 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
218 (((
219 4
220 )))|(((
221 (% class="content-wrapper" %)
222 (((
223 The media management dialogue opens. Use the Add button [[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Plus.png||data-xwiki-image-style="img-icon"]] to select the relevant target file or the Upload button[[image:LMS.Benutzerhandbuch OPAL.Icons.WebHome@Icon_Hochladen.png||data-xwiki-image-style="img-icon" height="24" width="25"]] to upload a new file, which can then also be selected.
224 )))
225 )))|(% rowspan="2" %)(% rowspan="2" %)
226 (((
227 (% class="content-wrapper" %)
228 (((
229 [[image:attach:Tiny - Videodatei auswählen_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
230 )))
231 )))
232 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
233 (((
234 5
235 )))|(((
236 If necessary, enter further information. Confirm your entries with OK.
237
238 Save the page with **save and close**.
239 )))
240 |(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)(% class="numberingColumn" data-mce-resize="false" contenteditable="false" %)
241 (((
242 6
243 )))|(((
244 The video is now displayed on the page and can be directly played or downloaded depending on the device and media format.
245 )))|(((
246 (% class="content-wrapper" %)
247 (((
248 [[image:attach:Kursrun - Video direkt_en.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
249 )))
250 )))