WordPress makes it easy to embed videos from popular video hosting services like YouTube, Vimeo, and Wistia. You can embed videos in your blog posts, pages, and sidebar widgets.
Here are three easy ways to embed videos in WordPress:
1. Use the WordPress block editor
The WordPress block editor makes it easy to embed videos without having to switch to the classic editor. To embed a video using the block editor, follow these steps:
- Go to the post or page where you want to embed the video.
- Click the “+” button to add a new block.
- Search for “video” and select the “Video” block.
- Paste the video URL into the block.
- Click the “Embed” button.
The video will be embedded in your post or page. You can resize the video, change its alignment, and add a title and description.
2. Use the classic editor
If you prefer to use the classic editor, you can embed videos by following these steps:
- Go to the post or page where you want to embed the video.
- Switch to the classic editor.
- Click on the “Insert Media” button.
- Click on the “Video” tab.
- Paste the video URL into the “URL” field.
- Click on the “Insert” button.
The video will be embedded in your post or page. You can resize the video, change its alignment, and add a title and description.
3. Use the Widgets screen
You can also embed videos in your sidebar widgets. To do this, follow these steps:
- Go to the Appearance » Widgets screen.
- Drag and drop the “Video” widget to the sidebar where you want to add the video.
- Paste the video URL into the “Video URL” field.
- Click on the “Save” button.
The video will be embedded in your sidebar.
Whichever method you choose, embedding videos in WordPress is a great way to add visual interest to your blog posts and pages.