/ Miscellaneous

Fundamentals Of Embedding A Video In Wordpress

Fundamentals Of Embedding A Video In Wordpress

Do you want to embed videos in WordPress?

Videos are enchanting and the users pay attention to the content which is great for engagement.

Here's a small beginners guide to embed videos in WordPress blog posts, pages, and sidebar widgets.

WordPress empowers site proprietors to refresh page content and drive a blog page through a simple interface (avoiding the need to learn website design complications).

Before starting, it's extremely critical to comprehend the difference between pages and posts.

Your site will comprise of any number of website pages containing the updatable substance. One of the pages is the blog page (except if you've decided not to run a blog/news page). The blog page can sometimes be set as the landing page or it may be an independent page called News, rather than Blog.


The blog page of your site consequently records individual posts included without anyone else's input. These can be of any length – short punchy updates or inconceivably long highlights or stories.

Posts are regularly dated  (and in some cases, the post creator is public too). More often than not, they show in reverse sequence; as you formulate new posts, more established posts get pushed down the page. In case you're blogging on an almost daily basis, it can support clients in a way that you sort your posts or add them into categories.

When a post drops at the base of the page, it can be accessed using different strategies (for example 'More established Posts' connections and Archive pages). Also, each post can be separately listed via web search tools (treated as a solitary website page); clients may land at your post straightforwardly, employing an internet search engine.


Pages are more permanent. Once you publish them, they stay put. They’re handy for timeless content because they don’t get deteriorated or deleted or removed. Your pages are shown in a menu someplace on your blog that is constantly viewable (ordinarily up close to your header or in a sidebar), so individuals can navigate your webpage easily.

oEmbed Method

This feature allows you to paste the Youtube video URL directly into your visual editor and it will automatically embed the video for you. There are two different URLs that we can use, first is up in the location bar of the browser, click on the URL bar and select the entire URL and copy it to your clipboard, the other URL that we can use is the one hidden behind the share icon. Once you click on the share icon you get another URL. There's absolutely no difference between the two, once you've copied the URL come back to your visual editor in WordPress, the most crucial thing here is that you need to put your cursor on a new line all by itself. Hit the return key to go ahead and put the cursor on a new line and just paste that URL directly into the visual editor you'll notice that the preview of your video because WordPress fetches the embed code and inserts the video into it.

Rather than utilizing the 'Share this video' choice in YouTube, attempt the 'Embed' choice which presents you with more power over the video, for example, the showcase size and whether proposed videos have appeared at the end of the play.

Choose from the available options and copy the resulting HTML code assigned by YouTube.

This needs to be pasted into your page in WordPress. But you must embed the copied HTML code using the ‘Text’ editing mode for the page, not the usual ‘Visual’ editing mode.

Iframe method

The second method allows you to customize how your video will be displayed on your post or page. You can do this by following the steps below:

  1. Click the Share above the subscribe button.
  2. Click Embed.
  3. You will find the iframe code and some options boxes. The first box will let you embed a YouTube video that starts playback at a pre-defined time. To adjust the time you need to watch the video first and pause at the desired time. You can also show the player controls such as play/pause, volume, and the fast-forward button by checking the second boxes.
  4. Copy the Iframe code and go back to the WordPress visual editor.
  5. Change visual mode into the text mode and paste the embed code

Embed videos on the sidebar

Sometimes, you feel like inserting your videos in the sidebar for better appearance of the content rather than inserting on a page. Follow the steps below to embed a video in WordPress sidebar:

  1. From your admin dashboard, go to Appearance then Customize and then click on Widgets.
  2. You may have a few options at sidebar areas where you want to add your videos. Choose the sidebar, and click Add a Widget button.
  3. Now, type ‘video’ in the search box.
  4. Then, you have the video widget on your left side. Click Add Video button, and choose  Insert from URL.
  5. Then, copy and paste the video URL from YouTube in the box.
  6. After the video’s preview appears, hit the Add to Widget button to confirm it.
  7. You may add the video’s title in the video widget on your left side.
  8. Last, click the Save & Publish button to go live.

Wordpress supports many other platforms for the embedding of videos other than YouTube only. You can easily embed your facebook posts, statuses, and tweets to your WordPress.

Video embedding Plugins help you to embed and manage your videos in an even better way through;

  1. SmartVideo - easy video embedding
    Best choice if you want to transform your website into a video-based platform.
  2. ARVE Advanced Responsive Video Embedder
    This is an SEO friendly plugin that helps in indexing by specifying description, title, and upload date.
  3. YouTube Embed
    Especially for those who prefer embedding YouTube videos in their blog posts. You can formulate your playlist.