Wordpress: Embed video - how it works
If you want to embed a video in Wordpress, you have to do several steps. With this practical tip, we will show you how it works.
Wordpress: insert video into post
So that the video can be integrated at all, you first have to choose a corresponding video, such as on YouTube.
- Call up the WordPress post, place the cursor where you want to embed the video. Now switch to the source text, i.e. the HTML view, and insert the embed code.
- For example, right-click on the video on YouTube and select "Copy embed code" (see image).
- Then switch back to WordPress view and insert the code at the desired location. Update and save your post so you can view it online.
Tips for embedding the video
With the above steps, the video is already online and you do not have to change anything. However, you can still customize the video. To do this, open the HTML view again and look for the name "player-detailpage" within the code. By adding a ";" you can now determine further commands.
- The video should start automatically: add behind the ";" the name "autoplay = 1". Then the video starts automatically when you go to your page.
- The bottom bar should be hidden: Enter behind the ";" the command "controls = 0". The bottom bar disappears and nobody can fast forward or rewind the video.
- The top bar should be hidden: tie behind the ";" the words "showinfo = 0". Nobody sees that this is a YouTube video.
- It is best to use the JW player for this. If the player is installed in Wordpress, you can open the media library. Here you will find the "Insert JW Player" button.
- If you then select the movie file, the player uploads the video and embeds it in Wordpress.
- The special thing about the player is that it supports HTML5 videos as well as Flash. In addition, the videos can not only be integrated on the computer, but also on the go (iPhone or iPad).
- Click on "Add files" in the top left and select the "Add files" function in the submenu. If you then click the "Select files" button, you can select the appropriate video file from your computer and upload it.
- Once the file has been uploaded, you will find a dropdown menu at the bottom right. In this menu, the item "Integrated media player" must be selected. If you then click on the "Insert into post" button, the video will be added to your post and will be online immediately after saving.
The big workshop in the CHIP Academy: "Wordpress: step by step to the first website"
With the course of the CHIP Academy, even beginners learn how to create a page with the WordPress blog system. In detailed steps, the user learns how to install, configure and optimize WordPress.
- Learn in over 6.5 hours how to change Wordpress using templates, add functions using plugins, integrate multimedia files and administer the blog system.
- You will also learn how to protect your newly created page from attackers, but also how to make it suitable for search engines with the right SEO strategy.
- Visit the CHIP Academy and get the extensive online video workshop for 39.90 euros.
In other practical tips, you will also learn how to set the language in Wordpress to German, embed a guest book, set up a newsletter or how to deactivate advertising in Wordpress.