Do you know that video marketing is one of the trend in 2018?

Customers these days want short but useful content that is highly engaging and capable to tell a story. What can convey all of those better than a video?

More and more companies prefer to use video as their marketing tool. It’s more interesting and engaging than still images or long text or even the previous trend – infographic.

If you want to catch up to this trend, whether it’s for your product brand or personal brand, you’ll want to start providing video content in your website.

After you create the video, you’ll need a place to host it. We don’t recommend you to upload the video directly to your website. First, it wastes your space (if you have limited storage space, that is). Second, not every host is built to play video content, causing your customers to experience unpleasant experience while watching your video. They may get choppy and lagged video. Your message from the video won’t come across, and all your customers get from watching it will be mild irritation and frustration.

coffee-youtube-video

YouTube Video for Your Website

If you want to add video content to your website, we recommend you to host it somewhere else. There are many websites that provide this service. From YouTube (that seems to be a household name already) to RapidShare, OpenLoad, Vimeo, and many others. From free to paid.

If you’re planning to share free video content, then your best option is YouTube. YouTube is free, easy-to-use, and currently is the more popular video-sharing platform.

On the other hand, if you’re planning to make paid video content, YouTube is not your option because it doesn’t provide the service. You can, however, choose to monetize your video. YouTube will put advertisement at the beginning (or in the middle, if your video is long) of your video and you’ll receive part of the revenue from it.

How to Embed YouTube Video for Your Website

We’ve said that one of the advantage of using YouTube is its user-friendliness.

To embed the video you’ve uploaded on YouTube, all you need to do is this:

  1. Visit your video in YouTube
  2. Under the video, you’ll see Share button. Click it and choose Embed
  3. You’ll see the link to embed the video
  4. Copy the link to your website post

And voila, your video is now embedded on your website! Your customers can now see the video from your website, without needing to copy the video link and paste it to the address bar and hit enter.

How to Resize YouTube Video for Your Website

Different website has different design. Sometimes, you’ll need to resize the YouTube video for your website to keep it looking clean and neat.

It used to be easy to resize YouTube video for your website. In the Step 3 from the above, you’ll see size option under the link to embed the video in a drop down menu. All you need to do is choose the size you want and the code will change according to the size you choose.

Since last year, however, it seems like YouTube has gotten rid of this size option. If you copy the embed link provided, you’ll get the default YouTube video size: 560 x 315, as you can see from this example code:

There are many users who seems to be confused with this change. Why did YouTube get rid this practical option? How can they resize the embed video without this option?

Turns out, YouTube doesn’t actually got rid of it. They just don’t show it as blatantly as before. But, you can still get embed link with different size.

All you need to do is to accessing the embed link from different mode.

  • If you want default YouTube size, you can just follow the steps above. You’ll get 560 x 315 video.
  • If you want medium sized video, you just have to right-click on the video while it’s playing (no need to click the Share button) and click Copy embed code. You’ll get 599 x 337 video. Below is the example code for embed video link.
  • If you want large sized video, play the video on Theater Mode, then right-click on the video while it’s playing and click Copy embed code. You’ll get 1349 x 480 video. Below is the example code for embed video link.
  • If you want HD video, play the video on Full Screen Mode, then right-click on the video while it’s playing and click Copy embed code. You’ll get 1366 x 768 video. Below is the example code for embed video link.

How to Resize YouTube Video for Your Website Manually

Of course, you can easily change the size manually from the embed code. However, not all size works as YouTube will obviously need to maintain the ration of the video. The most common sizes for video that usually works are these:

  • 320 x 240
  • 560 x 315
  • 640 x 360
  • 853 x 480
  • 1215 x 480
  • 1229 x 691
  • 1280 x 720
  • 1920 x 1080

So, there you have it, easy ways to resize YouTube video for your website, manually or not. Now you don’t have to panic anymore when you don’t see any resize option when copying the embed code of your video.

Gain more interest and visit from your customers to your website by adding video content. No matter what design your website has, you can easily resize YouTube video for it with this helpful guide.

Do you have any other way to resize YouTube video for your website?

Or do you have any other question about adding video content to your website? Share your thought on the comment section below.

Every job comes with risk. Being a blogger isn’t an exception. Have you ever experience any malfunction in your blog, ranging from small inconvenience like how some features suddenly won’t load to big mess up that makes you unable to even login to your dashboard?

If you haven’t, then you probably haven’t done blogging for a long time. That, or you are a very lucky person.
Because, corrupt file issue in blogging is real, and it can be both annoying and damaging, and it can happen to anybody. Both newbie and expert may experience this unpleasant trouble.

One of the most frequent suspect for this glitch is corrupt wp-config.php file. Thankfully, fixing this corrupted file doesn’t require years of experience or college degree in programming. With some effort and willingness to learn, you can fix this wp-config corrupt file issue by yourself.

Here, we will share how you can do the fixing trick in WordPress.

What is wp-config corrupt file issue?

In WordPress, all files that make your website is saved in database. Corrupt file means there is file (or files) in the database that is broken, making you unable to retrieve or write it. One of the core is saved in a file named wp-config.php. If this file is corrupt, then it can cause major inconvenience. For example, when you try to load a page on your blog, instead of getting a prettily designed page with quality content, you get error message with various wordings:

  • There was an error
  • Cannot establish database connection
  • Sorry, your request cannot be completed
    Of course, this disturb your business. You can’t get your customers and they can’t get what they want. But, worry no more, because here we’ve collected three solutions for you to fix wp-config corrupt file.

1st Solution: Restore from a Back Up

Whoever you ask first for the solution will always recommend to restore the site from previous back up. It’s because this solution is the easiest among the others. That’s the advantage of this solution. The disadvantage, of course, is that you need to already have the back up.

If you happen to read this article as preventive measure and your blog is not actually corrupted right now, then we advise you to back up your blog right now. There are WordPress plugins that provides easy back up such as BackupBuddy and UpdraftPlus. You can even find free backup plugin like BackWPUp.

Using plug in like this, all you need to do to back up is enter your dashboard, go to your plugin, and set the backup preference. When you encounter corrupt file at some point, just open the plugin and restore the setting to the latest back up point using several click.

But, what if you don’t have any back up ready to restore? Or what if the corrupt file preventing you from logging in and accessing your dashboard? Then, you’ll want to check the 2nd solution below.

2nd Solution: Fix the Database

For the 2nd and 3rd solution, you must already have FTP (File Transfer Protocol) client installed in your computer, since we’ll be using them to access the database for your WordPress. There are many FTP client available out there. The most popular are FileZilla and SmartFTP but feel free to use any FTP client you prefer.

Once you’ve set up the FTP client with your website, you’ll be able to access the database. Go to your website’s root directory, and find a file named wp-config.php. Right click on the file and choose option to View/Edit.

Now, your default text editor will open a page full of source code of your website. You’ll want to scroll down without changing anything until you hit the last line, usually read That’s all, stop editing. Happy blogging!

Above that last line, paste this code below:

define( ‘WP_ALLOW_REPAIR’, true );

Now, save and exit the text editor. Go to your browser and try to access your website by typing http://yourwebsite.com/wp-admin/maint/repair.php. Of course, change yourwebsite with your own domain.

Press enter and WordPress will lead you to a page with two options: Repair Database and Repair and Optimize Database.

Click Repair Database and wait while the service is performed by WordPress. When the repair is finished, go back to your browser and access your blog as usual. This time, you’re supposed to be able to get your blog back.

Once the blog is alright, go back to the wp-config via FTP and remove the line you’ve previously added.

But… if this method still doesn’t work, then maybe you want to try the last chance.

3rd Solution: Replace the Core File

Again, this method will use FTP client active in your computer. It sounds rather scary to replace anything in the code-filled database we glimpsed earlier, but it really is not.

All you need to do is to head to WordPress.org and download the newest WordPress software. Unzip it to your computer and open it.

Now open the directory from FTP client. From it, find the location of WordPress root folder. Then, select all the files in your local directory and upload them. Some people suggest not to touch anything in wp-content folder however, in order to avoid losing all media you’ve previously uploaded into the device.

Finally, when the upload finished, then the core file in your database will be as newest as they can be, including the wp-config file that was previously corrupted.

There, now you don’t have to panic anymore if you encounter glitch during your career as a blogging. It’s perfectly natural to get once or twice with this annoying configuration problem, but they are many solutions for that, and we’ve covered three of the hardest trick above. So, sleep tight tonight, next time your website is acting up because of wp-config corrupt file, you’ll know exactly what action to take…