# How to embed a Video in WordPress

Nowadays, multimedia content plays an important role online and videos have become indispensable social media tools and design elements for a modern, appealing web presence. As a website operator, you should know how to **embed videos correctly** – whether you want to upload your own videos or embed clips from an external video portal such as YouTube.

When working with the popular content management system WordPress, you’ll have plenty of options to add videos to your site. Alternatively, you can embed videos using a **plugin from WordPress’s plugin library or embedding a code**. In this article we’ll show you the options and step-by-step instructions to embed videos in WordPress correctly.

## Embedding videos in WordPress: the options

There are several options to add videos to your [WordPress](https://www.ionos.com/digitalguide/hosting/cms/wordpress-the-cms-for-more-than-just-blogs/ "WordPress: The CMS for more than just blogs") web project. First, you need to decide if you want to host your video content on your web space or with an external service provider. Want to retain full control? In that case, it’s best to upload your video clips to the **WordPress media library**. WordPress will save the videos directly to your server. Alternatively, you can simply upload your video to an external platform such as YouTube or Vimeo and then add an **embed link** to your website, blog, or store.

---

### Note

When using the WordPress media library to upload and store video content, it’s important to watch out for changes in performance. Large video files or too many of them can quickly hamper the performance of your website. Find more tips to optimize your website in our article on how to “[Speed up WordPress](https://www.ionos.com/digitalguide/hosting/blogs/make-your-wordpress-faster/)”.

---

**WordPress video plugins** are also useful when you want to link **additional functions** to your video embed. For beginners, the practical extensions greatly simplify video integration and creating video galleries or sliders and modifying background playback options couldn’t be easier.

---

### Tip

[Hosting for WordPress](https://www.ionos.com/hosting/wordpress-hosting "Hosting for WordPress from IONOS") by IONOS is a comprehensive WordPress package that lets you focus on the design and content of your web project.

---

## Three options to embed videos in WordPress

The **steps** to embed videos in WordPress depend on the option you choose – using a plugin is very different from accessing the integrated media library or adding an embed code. Below, we’ve summarized the individual steps for all three options.

### WordPress: video integration via the WordPress Media Library

If you’re the creator or owner of a video, you can simply upload it to your WordPress Media Library.

**Step 1**: Launch the Media Library and select “**Media**” from the left-hand menu:

[![Image: WordPress: Media Library](https://www.ionos.com/digitalguide/fileadmin/_processed_/8/3/csm_embed-a-video-in-WordPress-1_9cbdeb2b8e.webp "WordPress: Media Library")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-1.png) Click on the “Media” menu to begin uploading a video to the WordPress Media Library.       **Step 2**: Click on “**Add New**” and “**Select Files**” to specify and confirm the storage location of your video file and start uploading it to the Media Library. Alternatively, **drag and drop** the clip into the field (dashed lines):

[![Image: WordPress Media Library: File upload dialog box](https://www.ionos.com/digitalguide/fileadmin/_processed_/2/2/csm_embed-a-video-in-WordPress-2_e4906eae48.webp "WordPress Media Library: File upload dialog box")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-2.png) The WordPress Media Library provides plenty of storage space for videos and other multimedia content like images and music.       ---

### Note

By default, the **maximum file size** you can upload to the WordPress Media Library is **64 megabytes**. However, you can increase the file size limit by amending the entry in the configuration file “wp-config.php” or via the [.htaccess file](https://www.ionos.com/digitalguide/hosting/technical-matters/htaccess-tricks/). Alternatively, you can adjust the size limit using the [All-in-One WP Migration](https://wordpress.org/plugins/all-in-one-wp-migration/ "WordPress plugin All-in-One WP Migration") plugin or contacting your provider.

---

**Step 3**: Launch the WordPress page where you want to add the video and click on the **Plus sign** to **add a block of content**.

[![Image: WordPress: Button “Add block”](https://www.ionos.com/digitalguide/fileadmin/_processed_/0/f/csm_embed-a-video-in-WordPress-3_9881529a5b.webp "WordPress: Button “Add block”")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-3.png) WordPress makes it easy to integrate videos by adding blocks of content.       **Step 4**: Scroll to the “Media” section and select the “**Video**” entry to add a video content block. In the block, click on “**Media Library**”. WordPress will launch an overview of available videos, from which you can select the desired video. After you click on a video, a window launches that lets you adjust the metadata such as title, label, and description of your video. Hit the “**Select**” button to embed the video to your WordPress page.

[![Image: WordPress dialog “Select or Upload Media”](https://www.ionos.com/digitalguide/fileadmin/_processed_/a/a/csm_embed-a-video-in-WordPress-4_35e06a1b5d.webp "WordPress dialog “Select or Upload Media”")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-4.png) WordPress dialog “Select or Upload Media”       Now, your video is embedded in WordPress. Just as with any other content block on WordPress, you can move it around the page to match your page layout.

[![Image: WordPress: Example page with embedded video](https://www.ionos.com/digitalguide/fileadmin/_processed_/b/1/csm_embed-a-video-in-WordPress-5_180ccd3a5c.webp "WordPress: Example page with embedded video")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-5.png) WordPress: Example page with embedded video       ---

### Tip

When uploading videos to your web space, it’s advisable to [compress your videos](https://www.ionos.com/digitalguide/websites/web-design/how-to-compress-video-files/). This ensures that available storage space is used more efficiently.

---

### WordPress: Embed videos using an embed code

If you prefer to save storage space and computing power, you can upload your videos to an external **video platform such as YouTube or Vimeo**. These platforms make it easy to embed videos using embed codes that can be easily integrated to your WordPress page. Depending on the orientation and type of your website, you can also insert **videos shared by other users** – provided they own the rights to the content and the videos are publicly available.

To add a YouTube video via an embed code, follow these steps. Note that individual steps may vary for other video content platforms.

**Step 1**: Find the YouTube video you wish to embed and click on “**Share**” located below the clip.

[![Image: YouTube: “Share” button](https://www.ionos.com/digitalguide/fileadmin/_processed_/d/4/csm_embed-a-video-in-WordPress-6_cef045e083.webp "YouTube: “Share” button")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-6.png) YouTube: “Share” button       **Step 2**: Select “**Embed**” to access the embedding options. You can choose the default settings or modify the embed code a little. For example, you could define the time at which you’d want the video to play once embedded on your page (“Start at”). You can also enable a **privacy-enhanced mode** to protect the privacy of your visitors. Finally, click on “**Copy**” to save the code to the clipboard for WordPress import.

[![Image: YouTube menu for video embed](https://www.ionos.com/digitalguide/fileadmin/_processed_/2/9/csm_embed-a-video-in-WordPress-7_8e43ff3f4b.webp "YouTube menu for video embed")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-7.png) YouTube menu for video embed       **Step 3**: Now open the page in WordPress where you want to embed the video. Insert the clip link from the clipboard directly to the desired position by **creating an HTML block** and using the key combination **\[Ctrl\] + \[v\]** or right-clicking and selecting “**Paste**”.

[![Image: WordPress: Embed video via Code](https://www.ionos.com/digitalguide/fileadmin/_processed_/8/e/csm_embed-a-video-in-WordPress-8_8ce123fa86.webp "WordPress: Embed video via Code")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-8.png) You can embed videos in WordPress using a code.       **Step 4**: WordPress now auto-inserts the video in the usual format. Once you select “**Preview**”, you can preview the results.

[![Image: WordPress: Example of embedded YouTube video](https://www.ionos.com/digitalguide/fileadmin/_processed_/8/4/csm_embed-a-video-in-WordPress-9_27ff51fda3.webp "WordPress: Example of embedded YouTube video")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-9.png) WordPress: Example of embedded YouTube video       ###  WordPress: Video plugin to embed content

Regardless of whether you upload videos internally or externally, the use of WordPress video plugins is recommended for simple and quick integration of videos and **added features**. All you need to do is install the plug-in of your choice. The WordPress backend offers access to easy-to-use menus or editor buttons that manage the respective extension.

**Step 1**: From the left-hand menu, launch the “**Plugins**” section and click on “**Install**”.

[![Image: Plugins area in WordPress backend](https://www.ionos.com/digitalguide/fileadmin/_processed_/b/a/csm_embed-a-video-in-WordPress-10_371b9afc76.webp "Plugins area in WordPress backend")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-10.png) Plugins area in WordPress backend       **Step 2**: Type **any keyword** into the search bar (top right) to search for a suitable WordPress video plugin. To see what plugins are available simply enter the search term “video”:

[![Image: Overview of available video plugins in WordPress](https://www.ionos.com/digitalguide/fileadmin/_processed_/b/d/csm_embed-a-video-in-WordPress-11_9db73f63e3.webp "Overview of available video plugins in WordPress")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-11.png) Overview of available video plugins in WordPress       **Step 3**: When you’ve decided on a plugin, click on it and hit “**Install now**”. Once the plugin is installed, you can “**Activate**” it.

[![Image: WordPress plugins: Buttons to install and activate](https://www.ionos.com/digitalguide/fileadmin/_processed_/b/2/csm_embed-a-video-in-WordPress-12_3b1ea9580f.webp "WordPress plugins: Buttons to install and activate")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-12.png) To embed a video using a WordPress plugin, you just need to install and activate it.       ---

### Note

You can also download plugins from the [official WordPress Plugin Center](https://wordpress.org/plugins/ "Official WordPress Plugin Center on wordpress.org"). In this case, select “**Upload plugin**” and select where you want to store the unzipped plugin file.

---

**Step 4**: Alternatively, you can manage your plugins via the sub-menu “**Installed Plugins**” or **a sub-menu button** as shown in the example of the OriginCode “Video Gallery” plugin below:

[![Image: “Video Gallery” menu in WordPress](https://www.ionos.com/digitalguide/fileadmin/_processed_/e/9/csm_embed-a-video-in-WordPress-13_9abbd3c06e.webp "“Video Gallery” menu in WordPress")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-13.png) “Video Gallery” menu in WordPress       ##  Overview of the best WordPress video plugins

Plugins to embed videos are a great option for seasoned WordPress users and complete beginners of the CMS. They are guaranteed to **add value to your web project**. Below we’ve rounded up some of the best extensions for adding and managing videos in WordPress.

### Embed Plus for YouTube

Want to **embed YouTube video content**? You won’t want to miss [Embed Plus for YouTube](https://wordpress.org/plugins/youtube-embed-plus "WordPress plugin: Embed Plus for YouTube"). With over 200,000 active installations, the plugin doesn’t just support the embedding of **single YouTube clips**, but also that of entire **playlists, channels, and even livestreams**. The plugin is also compatible with the [WordPress Gutenberg editor](https://www.ionos.com/digitalguide/hosting/blogs/wordpress-gutenberg/ "WordPress Gutenberg"). The “YouTube Wizard” is a user-friendly management tool. Additional features such as automatic video SEO markup or a caching function can be activated by upgrading to the paid Pro version.

[![Image: YouTube Wizard in WordPress Editor](https://www.ionos.com/digitalguide/fileadmin/_processed_/5/a/csm_embed-a-video-in-WordPress-14_ff163466c7.webp "YouTube Wizard in WordPress Editor")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-14.png) YouTube Wizard in WordPress Editor

<table>
  <thead>
    <tr>
      <th>Advantages</th>
      <th>Disadvantages</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Various presets to embed YouTube videos, channels, playlists, and live streams</td>
      <td></td>
    </tr>
    <tr>
      <td>Options for opt-in and no-cookie menus</td>
      <td></td>
    </tr>
  </tbody>
</table>

### Yoo Slider

When you **subscribe** to the **paid edition** of the [Yoo Slider](https://wordpress.org/plugins/yoo-slider/ "Yoo Slider on wordpress.org") plugin (Beginner: approx. $20/year), you can add **high-quality, responsive video slideshows** to your page. The free version of the plugin is available for images only. Optionally, you can add slideshows using YouTube and Vimeo clips and videos from your Media Library using the pre-installed Yoo Slider to **access over 20 pre-defined animations**. [Adding videos via HTML code](https://www.ionos.com/digitalguide/websites/website-creation/how-to-embed-a-video-with-html/) is also possible. To embed your newly created slideshow, simply use the Gutenberg editor or [WordPress short code](https://www.ionos.com/digitalguide/hosting/blogs/wordpress-shortcodes-the-most-useful-short-commands/).

[YouTube video](https://www.youtube.com/watch?v=Lfk219-fu1g)

<table>
  <thead>
    <tr>
      <th>Advantages</th>
      <th>Disadvantages</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>More than 20 different slide animations available</td>
      <td>No free edition for videos</td>
    </tr>
    <tr>
      <td>Slideshows can be embedded with Gutenberg block or short code</td>
      <td></td>
    </tr>
  </tbody>
</table>

### WP YouTube Lyte

Manage a blog? Then you’re already well-aware of how important a smooth performance across multiple end devices is. **Loading times** are particularly important. If YouTube videos are an integral part of your WordPress blog, the [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/ "WordPress video plugin WP YouTube Lyte") plugin is particularly useful.

The plugin enables [lazy loading](https://www.ionos.com/digitalguide/websites/website-creation/lazy-loading/ "Lazy loading") for all embedded WordPress videos. Responsive “**Lite YouTube Embeds**” look just like normal YouTube embeds, but only launch the memory-intensive player when a visitor actually clicks on a video. **YouTube videos can also be cached locally**, which means that the video platform servers aren’t unnecessarily accessed.

[![Image: WP YouTube Lyte menu in WordPress](https://www.ionos.com/digitalguide/fileadmin/_processed_/b/d/csm_embed-a-video-in-WordPress-15_a0bd044d9a.webp "WP YouTube Lyte menu in WordPress")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-15.png) WP YouTube Lyte menu in WordPress

<table>
  <thead>
    <tr>
      <th>Advantages</th>
      <th>Disadvantages</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Options to adjust the size of the video player</td>
      <td>No separate button in the editor (integration via a link in Lyte)</td>
    </tr>
    <tr>
      <td>YouTube clips are cached locally</td>
      <td></td>
    </tr>
  </tbody>
</table>

### Advanced WordPress Backgrounds (AWB)

[Parallax scrolling](https://www.ionos.com/digitalguide/websites/web-design/parallax-websites-scrolling-with-3d-effect/ "Parallax websites: scrolling with 3D effect") is now an important feature of design tools for modern web projects. [Advanced WordPress Backgrounds (AWB)](https://wordpress.org/plugins/advanced-backgrounds/ "WordPress Plugin Center: Advanced WordPress Backgrounds") is a free plugin that supports parallax scrolling in WordPress. You can use the extension to create individual **parallax backgrounds** for selected pages based on images or videos (self-hosted, YouTube, or Vimeo). The technical basis for this is the powerful JavaScript plug-in **Jarallax**.

[![Image: AWB menu in WordPress editor](https://www.ionos.com/digitalguide/fileadmin/_processed_/e/d/csm_embed-a-video-in-WordPress-16_c87b934d50.webp "AWB menu in WordPress editor")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-16.png) AWB menu in WordPress editor

<table>
  <thead>
    <tr>
      <th>Advantages</th>
      <th>Disadvantages</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Based on powerful JavaScript plugin Jarallax</td>
      <td></td>
    </tr>
    <tr>
      <td>Parallax effect can be switched off for mobile versions</td>
      <td></td>
    </tr>
  </tbody>
</table>

### Video Gallery

Galleries are a popular tool to present several videos on a page at once and the [Video Gallery by Total Soft](https://wordpress.org/plugins/gallery-videos/ "wordpress.org: Video Gallery by Total Soft") is an excellent solution to this end. The free basic version lets you compile and publish video galleries **with any number of clips** from YouTube, Vimeo, and Wistia or your own source. All galleries can be **arranged automatically in a responsive web design** and via **drag-and-drop**. To adapt the design of your galleries, we recommend upgrading to one of the paid versions (from approx. $15). The upgrade lets you access additional gallery themes, fonts, hover effects, and various other style options.

[![Image: Plugin “Video Gallery” in WordPress](https://www.ionos.com/digitalguide/fileadmin/_processed_/3/b/csm_embed-a-video-in-WordPress-17_20d8b279bb.webp "Plugin “Video Gallery” in WordPress")](https://www.ionos.com/digitalguide/fileadmin/DigitalGuide/Screenshots_2021/embed-a-video-in-WordPress-17.png) Plugin “Video Gallery” in WordPress

<table>
  <thead>
    <tr>
      <th>Advantages</th>
      <th>Disadvantages</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>All galleries are auto-responsive</td>
      <td>Integration only with short code</td>
    </tr>
    <tr>
      <td>Easy sorting of videos using drag-and-drop</td>
      <td></td>
    </tr>
  </tbody>
</table>

### Summary of the best WordPress video plugins

<table>
  <thead>
    <tr>
      <th></th>
      <th>WordPress version</th>
      <th>Active installations</th>
      <th>Costs</th>
      <th>Features</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Advanced WordPress Backgrounds (AWB)</td>
      <td>5.4+</td>
      <td>20,000+</td>
      <td>Basis: freePro: in planning</td>
      <td>Backgrounds with parallax effect</td>
    </tr>
    <tr>
      <td>Embed Plus for YouTube</td>
      <td>4.1+</td>
      <td>200,000+</td>
      <td>Basis: freePro: from approx. $20</td>
      <td>Embedding of YouTube content</td>
    </tr>
    <tr>
      <td>Video Gallery</td>
      <td>4.9+</td>
      <td>10,000+</td>
      <td>Basis: freePro: from approx. $15</td>
      <td>Video galleries</td>
    </tr>
    <tr>
      <td>WP YouTube Lyte</td>
      <td>4.0+</td>
      <td>30,000+</td>
      <td>Free</td>
      <td>Lazy loading for gallery clips</td>
    </tr>
    <tr>
      <td>Yoo Slider</td>
      <td>4.6+</td>
      <td>2,000+</td>
      <td>From approx. $20</td>
      <td>Slideshows</td>
    </tr>
  </tbody>
</table>


This is a markdown version of: [https://www.ionos.com/digitalguide/hosting/blogs/embed-a-video-in-wordpress/](https://www.ionos.com/digitalguide/hosting/blogs/embed-a-video-in-wordpress/) for AI/LLM consumption.