How to embed video in WordPress

It is possible to insert video or audio file in WordPress. In this tutorial, I’ll show you how to easily embed video from services like YouTube, Vimeo, and so on.

How to embed video in WordPress

If you want to revive your WordPress website not only with images and image galleries but also with video, audio or other files, you can do so in two ways.

Embedding video or audio using URL

The first one is the so called embedding of video — inserting a video using URL. In this way, you do not need to upload a video file to your site. Open the post or page where you want to place the video. The next steps are very simple:

Open the video you want to embed on a new page and copy its URL.

embovanie videa
URL address video

Insert the address in an open post on your WordPress site. WordPress will automatically embed video on the page. It appears in seconds.

embovanie videa vloženie videa
Embedded video

This way you can embed videos, photos, profiles, posts, and comments. You can use this method to embed files from multiple websites and social networks. For example:

  • YouTube
  •  DailyMotionVimeo
  •  Flickr
  •  Vine
  •  Twitter
  •  Facebook
  •  Instagram
  •  Reddit
  •  Animoto
  • WordPress Plugin Directory
  • and many others.
💡 Tip: Choosing the right hosting is crucial for a fast website ⏱ . I recommend betting on verified quality ➡️ Bluehost or SiteGround.

Editing the embedded video

If you want to adjust the height and width of the video, you can add shortcode to the URL:

uprava embovaného videa

How to embed a video through a media library

The other way is to insert a video or audio file by clicking the “Add File” button in WordPress Visual Editor. WordPress supports M4a, MP4, OGG, WebM, FLV, MP3 and WAV formats.

This is similar to the way you embedded the image. (See my post: How to add a picture in WordPress). The same window opens as when inserting an image and an image gallery. You can choose from files that you already have in your media library or upload new ones. To do so, click “Upload Files”.

💡 Tip for themes: From premium themes, I have good experience with themes Divi, Avada and with page builder Elementor.

Adding audio and video files to WordPress page

Click “Create Playlist” on the left side of the media library window. A list of your audio files is displayed. If you wish to embed a video, click “Create video list” to see a list of video files.

From the list, select the files you want to embed to the website. Then click “Create a new playlist” and “Create a new video list”.

Editing a video list

Now, you are in the playlist editing window. You can change their order here. You do this by dragging them with your mouse and dropping the file to a new location. You can also change the file name. Click on its name to overwrite it. After clicking on the video, a video description window will appear on the right side of the screen.

In the window for video list editing, you can remove the video list by clicking the cross in the corner of the particular video icon or inserting another video in the list. You can find this option in the left part of the video editing window.

💡 Do you want a faster ⏱ website? Website speed is important for both visitors and SEO. I got the best results thanks to the WP Rocket plugin, which I highly recommend.
Was this article helpful for you? Support me by sharing, please. 👍
WordPress Návod v PDF


Please enter your comment!
Please enter your name here