There are several ways to add a video in a blog post. The simplest solution is if the video is already stored on the Internet: copy and paste the URL of the video in the WordPress visual editor, on a new line. It works for instance with YouTube and Dailymotion videos. Here is a list of compatible websites. It’s important to bear in mind that there are not only videos sites, you can also copy and paste the URL of a tweet and a link to a track in Spotify for example. It may also work with videos stored on other servers (including your website host), try it!
If you know the URL of a video stored on the internet, you can also use the Shortcode in the WordPress editor.
Depending on the version of WordPress you use, you will see the video in the WordPress visual editor or not. But you will see it when you Preview (or Publish) the post. If WordPress fails to embed the video URL, the post will contain a hyperlink to the URL; the user will have to click on this link to see the video.
Some video sites like YouTube and Dailymotion also let you integrate an export code in your blog post or web page, to customize the video player. With YouTube, for example, click the Share button, then click the Embed tab and click “SHOW MORE” to see all options.
(And yes, we are proud Taylor Swift fans!).
Once changed there are important options for you (Custom size, etc.), copy the <iframe> code in the Clipboard (Cmd+C on Mac, Ctrl+C on the PC).
In WordPress visual editor, click the Text tab, paste this code (Cmd+V on Mac, Ctrl+V on the PC), then click the Visual tab to use again the visual text editor.
You will see the video when you Preview or Publish the blog post.
- To upload on your blog/website your own video file or a video file purchased on Fotolia, press the “Add Media” button in WordPress text editor. The upload will fail if the file is too big (more than 3 MB in our example; your blog administrator defines this size). For advanced users: using an FTP Client software like FileZilla Client, you can upload the video directly to the /wp-content/uploads folder. The file doesn’t appear in your Media Library, but with its URL you can use one of the solutions discussed above, for example the shortcode.
- Users with iPhone/iPad can’t see Flash videos (flv) on their devices. It can also be difficult to view Flash videos with an Android smartphone/tablet.
- To display videos with a lot of options in your blog posts, you can also install WordPress plugins.
- When a user watches a video, most of the time they can click on an icon to see the clip in full screen.