Drupal, instruktioner för redaktörer
Video and audio
Do as follows:
In this example, we describe how to embed a video from GU Play in an existing “Information page” from within the text editor. To add a video, you need to use a video service, such as GU Play, YouTube or Vimeo. Videos are embedded in the same way regardless of whether you choose GU Play, YouTube or Vimeo.
- Switch to the “Content” tab in the top left.
You’ll now see an overview of all content you’re permitted to access in the current web space.
Filter the content type you want to use. Choose “Information page” from the drop-down list under the “Content type” heading and click the “Filter” button.- Select the information page in which the video is to be embedded. This will open the page in its current state. Click “Edit” in the row of tabs.
- Body text
This will open a form with the basic content of the page. The “Body text” field has an editor in which you click the “Media Entity Embed” button to embed the video. Use the mouse pointer to highlight where on the page the video is to be embedded. - Select media to embed
The “Select media to embed” dialogue will open.- Title
Enter the video’s name/heading in the “Title” field (required). This text will appear under the video. - Video URL
Enter the URL of the video by pasting the address in the “Video URL” field (required). - Video length
Enter the length of the video using the format m:s (minutes and seconds) or h:m:s (hours, minutes and seconds) in the “Video length” field. - Video cover
Add an image to be used as a cover image for the video before it’s played in the “Video cover” field (required). Click the grey “Open image library” button. - Create video
Click the blue “Create video” button.
- Title
- Embed media
In the next window, “Embed media”, enter the video’s image text in the “Image text” field. This is shown under the video, on the left. At this point, you can also return to editing mode.- Embed
Click the blue “Embed” button.
- Embed
- The video will now play embedded in your information page.
- Don’t forget to save the page by clicking the blue “Save” button at the bottom of the information page.