Adding videos to blogs is an effective way to enrich blog content and increase the likelihood of audiences. However, do you know it never should upload or host a video in WordPress website? In this tutorial, we explain the reasons in detail and introduce an easy method to help readers upload their favorite videos to the internet.
Why Should Never Upload a Video to WordPress?
WordPress website is powerful to contain all kinds of contents, such as text, images, music, video, audio, etc. However, uploading some large size file like video may hurt your blog in some aspects.
File Size & Storage Limits
Video files often come with a large size, for example, an HD video file can easily surpass 100 MB. However, many WordPress hosting limits the upload file size within 50 MB, which makes you hardly upload some large size and high definition videos.
On the other hand, many web hosts limit the web storage (even if they claim to offer unlimited web space) for a few hundred Gigabyte, and you can easily exceed this limit if you upload many video files.
Cost High Bandwidth
When you upload a video file into your WordPress blog, it may attract a large number of customers to watch it at the same time. Actually, you may never get that long as many web hosts turn your website offline or ask you upgrade to a higher plan when your bandwidth exceeds the normal usage.
Slow-Loading Video or Unexpected Pauses During Playback
For visitors who are tempting to watch your videos, they may encounter unexpected pauses when playback, and then they have to wait for a lone time. That greatly decreases the website user experience and many folks may complain about the slow loading videos.
How to Embed Video into WordPress?
It is obviously terrible to upload a video file to WordPress. However, how to do if you want to add a video file in WordPress post? Don’t worry. In below, we introduce a simple way to help you embed video files within minutes.
Instead of upload a video file into your Media Library directly, you can upload them on third party websites like YouTube or Vimeo since their servers are optimized for streaming video. Then, you can easily share the video to social media and or embed it into WordPress post.
Actually, starting at WordPress 2.9, it’s quite easy to embed videos, images and other content into WordPress website. All you need to do is to paste the URL of video file into the content area. Only make sure the URL is on its own line and not hyperlinked. And then, WordPress can read it and automatically show the media player.
Here is how you can add Post Thumbnails in WordPress:
For example, upload a video to YouTube, and you can simply copy the URL and paste it into content on a line of its own, and the YouTube player can show in its place when published, just like the following:
Display a Gallery of Video Thumbnails in WordPress
Displaying YouTube video thumbnails from a channel enables an integration of YouTube and your website. That makes it much easier for visitors to get the newly updated videos. It has been regarded as a great idea to share some video tutorials, funny videos, video demonstrations or something else with visitors thereby boosting website traffic. Here comes an example of a gallery of video thumbnails from a YouTube channel.
In this guide, we would like to show you an easy manner to showcase a collection of video thumbnails in a gallery and make it accessible to a channel on YouTube. The selected method here is YouTube Channel Gallery, which helps you make a hit without paying too much effort.
Enable a YouTube Channel Gallery Widget on Your Site
The YouTube Channel Gallery allows you to show recent videos from a YouTube channel. The gallery can be added to a sidebar as a widget or inserted to a page/post with shortcode. Log into your WP-admin and install this plugin on your website. Upon activation, a widget called “YouTube Channel Gallery” is included in the Widgets list.
Go to Widgets screen and move the widget “YouTube Channel Gallery” to the right sidebar. A list of settings is expanded automatically, which enables an easy way to customize this widget.
There are 4 tabs included in this section for YouTube Channel customization. Before everything, change the title of this YouTube channel to anything as you want and then focus on the Feed tab. You are required to create a YouTube API key by following this guide and then replace the inserted API key with the newly generated one.
Select a video feed type from the two options and enter the YouTube user ID/playlist ID as required. Note that, the option “Uploaded by a user” enables you to display a gallery of videos uploaded by a YouTube user. Take the page https://www.youtube.com/user/DisneyShorts as an example, which includes all videos uploaded by DisneyShorts. The “DisneyShorts” is the ID of this user.
If you just need to showcase videos from one playlist, check the feed type “playlist” and copy & paste the playlist ID to the specific field. Change the default playlist order if needed. By the way, the playlist URL should be like
in this sample, the PL4zQ6RXLMCJzozgDKM0QCiR7OH3Od9T2s is playlist ID.
Move to Player tab. This is where to set the video player to enable better browsing experience for visitors. Determine the way to play a video from three options. And then, set the width, aspect ratio, theme, progress bar color and video quality for this video player. Check the rest options to enable more functions on the YouTube channel gallery.
The Thumbnails tab enables you to make a decision on how to display video thumbnails on the web page. Set the number of videos to show on the gallery as well as adjust the width for each thumbnail. Reorder the thumbnail, title and description if needed or leave the default settings. Besides, you are also allowed to control the number of columns for thumbnail distribution, in terms of phones, tablets, medium desktops and large desktops.
Customize the link text via Link tab. The text is used to describe the link to the channel on YouTube. Determine whether to show the link to channel and whether to open the linked page in a new window. Click “Save” button after having all settings done.
Display the YouTube Channel Gallery in a Page/Post
Users are able to insert a YouTube channel gallery in any page or post by using shortcode. If there is a need to display a collection of videos uploaded by a YouTube user, the following shortcode can make a big difference in this case. That shows the latest videos uploaded by DisneyShorts. Replace “DisneyShorts” to any other user ID as needed.
The YouTube channel gallery should be like the following screenshot.
Another shortcode as below is used to showcase a playlist on a page or post. The PL4zQ6RXLMCJzozgDKM0QCiR7OH3Od9T2s is the playlist ID, which should be replaced to any other playlist ID as you want.
[Youtube_Channel_Gallery feed="playlist" user="PL4zQ6RXLMCJzozgDKM0QCiR7OH3Od9T2s"]