• WP Themes
    • Free Themes
      • Oswald Lite WP Theme
      • MariGold WP Theme
    • Premium Themes
      • Oswald WP Theme
  • WP Tuts
  • WP Reviews
  • WP Hosting
  • Freebies
  • Book a Review
  • Contacts
Home/How to Embed Videos from YouTube, Vimeo and Facebook to WordPress
2 shares
How-to-Embed-Videos-from-YouTube-Vimeo-and-Facebook-to-WordPress
July 11, 2018 | Tutorials | 0 comments

How to Embed Videos from YouTube, Vimeo and Facebook to WordPress

Many blogging experts that share their experience and knowledge concerning the blog promotion and development, always say that it would be great to partially transform your blog into a vlog. This means that it would be great to feature interesting and subject-related videos in every blog post you create and publish on your website. This is going to increase engagement as well as add value to your content.

Why is it better to embed videos to your posts instead of uploading them into the media library?

  1. Videos make your website “heavier” which means they take your bandwidth and make your server load slower. If a visitor takes the code of a video you have uploaded and embeds it somewhere on their own website, your bandwidth will be multiplied, and this will affect the loading speed.
  2. Embedding videos for instance from YouTube instead of uploading them directly to your WP website is better because your visitors will be able to choose the resolution they want to watch a video in. They can select either HD or a lower one. YouTube also detects the internet connection and device of a viewer and plays the video in a quality which is best suited for this definite device and web speed.
  3. You can start your own channel on YouTube or Vimeo, create your personal page in Facebook or any other social media, create your own videos, upload them on YouTube and Facebook and then embed them to your WordPress website. Since YouTube is one of the most visited websites on the Web, you get more video views than you could have had if you placed a video only on your own website.

So in this post we will speak on how to embed videos from YouTube, Vimeo and Facebook right to your WordPress website and make your blog even more popular and exciting. So let’s start.

Embedding Videos from YouTube and Vimeo

If you want to embed the video from YouTube, find the necessary one using the search functionality of this video-sharing website and then click the share button under the chosen video.

You will now see the social media buttons and Embed button available.

Click the Embed button and you will get the embed code in the correspondent field.

Copy this embed code and then go to Posts -> Add New in your WordPress dashboard. Go to Text editor and insert the embed code there.

Now you can go to the visual editor and see the video embedded.

By default, there is a standard width and height of the video available, but you can change these numbers according to your needs right in the code. Just change the width=”…” and height=”…” parameters in your embed code.

Once the video is embedded, you can align it to the center in the visual editor just by clicking Shift+Alt+C.

With Vimeo it’s almost the same. You also click the share button under the selected video

and then copy the ready embed code

to paste it in the Text editor area of your WP post.

After that you can watch the video in the visual editor.

To align this video to the center, you should insert the additional div into your code (as on the snapshot):

As you see, all is easy.

Embedding Video from Facebook

First, please find the video you’d like to embed from Facebook,

open it and then make the right click to select the ‘Copy Video Url at Current Time’ option.

Go to “Facebook for Developers embedded video player” and then look for Embedded Video Player Configurator through Ctrl+F or just by scrolling down.

Insert the URL of your video into the ‘Url of video’ field and then click the Get Code button.

You will get a popup with the code consisting of two parts. The first one should be located in your website’s header. The second part, in its turn, is the embedded video player code.

You will have to only add the first part of the code once. Next time you add a Facebook video, all you will have to do is to copy and paste the second part of the code into your post or page.

So how to insert the first part of the code into your website’s header? Just go to Appearance -> Editor, find the header.php file in the Theme files section on the right

and paste the first part of the code after the < body > tag. Then click the Update File button.

Then go to Posts -> Add New and insert the second part of the code into the Text Editor.

Save Draft and Preview the post to see the embedded video live.

You can also align it as you require, make it wrapped by text or place it at the center. It’s up to you!

That’s all! Hope this tut is useful and clear for you. Stay tuned!

melany hollywell wpdaddy
wpdaddy

Hi! I’m an experienced writer exploring WordPress for more than 5 years. I’m happy to share my knowledge and ideas with you and I hope you join me.

Cheers,
Melany H.

Share this post:
Related Posts
March 22, 2017

Sightseeing, Rest and Travel Blog WordPress Themes

Traveling is about stepping outside your comfort zone and visiting places you didn’t have the chance to discover earlier. The travel blog WordPress themes on this ...
Read this post
December 21, 2017

How to Track User Engagement With Google Analytics

When you launch your website, you, of course, suppose to have a lot of visitors and good traffic in the closest future. However, it’s important to properly track y...
Read this post
Subscribe to our Newsletter
Never miss out on the latest news, updates and tips. Subscribe now!
Download Revolution Slider Here!
revolution slider image
Categories
  • Art and Culture
  • Blog and Magazine
  • Business
  • Cars and Transport
  • Cleaning and Janitorial
  • Crypto ICO Token Sales
  • Design
  • Directory and Listing
  • Education
  • Entertainment
  • Events
  • Fashion
  • Free Themes
  • Freebies
  • Gutenberg
  • Health and Beauty
  • Hosting
  • Industry and Construction
  • Inspiration
  • Interview
  • Kids
  • Landscape and Gardening
  • Multipurpose
  • Non-Profit and Charity
  • Pets and Animals
  • Photography
  • Plugins
  • Portfolio
  • Real Estate
  • Restaurant
  • Reviews
  • Sports
  • Technology
  • Traveling
  • Tutorials
  • WooCommerce
Popular Posts:
  • Best Face Generators to C...
  • How to Add Video in the S...
  • How to Enlarge Images Whe...
  • How to Center a Shortcode...
  • How to Fix ‘Browser...

Copyright © 2020 WP Daddy. All Rights Reserved.

Follow Us: