Videos can really bring life and colour to your website. In this article, I will explore how to go about embedding videos into pages on your site.
How to embed videos into WordPress blog posts
WordPress comes with a great little feature called auto-embeds. This allows WordPress to automatically get the embed code for a video from popular video hosting sites like YouTube, Vimeo, DailyMotion, etc.
All you need to do is paste the video URL into the post editor. Make sure that the URL is on its own line and not hyperlinked.
If you happen to be using the visual editor for WordPress, then it will immediately fetch the embed code and display the video within the editor.
You will now be able to save your post and view the embedded video by clicking on the ‘Preview’ button.
It should be noted that WordPress can only automatically embed videos from white-listed service providers. For all other websites, you will have to manually obtain the embed code and paste it into your blog posts. The list for white-listed service providers for auto-embeds in WordPress goes as follows:
- Animoto
- Blip
- Cloudup
- CollegeHumor
- DailyMotion
- Flickr
- FunnyOrDie.com
- Hulu
- Imgur
- Issuu
- Kickstarter
- Meetup.com
- Mixcloud
- Photobucket
- PollDaddy
- ReverbNation
- Scribd
- SlideShare
- SmugMug
- SoundCloud
- Speaker Deck
- Spotify
- TED
- Tumblr
- VideoPress
- Vimeo
- Vine
- WordPress plugin directory
- WordPress.tv
- YouTube