super easy inserting videos into your WordPress site

It’s super easy to insert videos into your WordPress site.

Simply post the URL to the video into the page or post content area. Make sure that the URL is on its own line and not hyperlinked (clickable when viewing the post).

For example:

Check out this cool video: 

http://youtu.be/KshLPLDvdWk~

That was a cool video.

WordPress will automatically turn that into a YouTube embed. In case it fails to embed the video there will be a link to the URL. This will work not only with video but also with other content like photos from Flickr etc.

Can you use any URL?

Not by default. For security reasons we only embed URLs matching an internal whitelist:

Service Embed Type
Animoto Videos
Blip Videos
CollegeHumor Videos
DailyMotion Videos
Flickr Videos & Images
FunnyOrDie.com Videos
Hulu Videos
Imgur Images
Instagram Images
iSnare Articles
Issuu Documents
Meetup.com Various
EmbedArticles Various
kickstarter Various
Mixcloud Music
Photobucket Images
PollDaddy Polls & Surveys
Rdio Music
Revision3 TV shows
Scribd Documents
SlideShare Presentation slideshows
SmugMug Various
SoundCloud Music
Spotify Music
TED Videos
Tumblr Social media
Twitter Social media
Vimeo Video
Vine Video
WordPress.tv Videos
YouTube Videos

Troubleshoot

YouTube link is showing as plan text
Make sure if you’re uploading your video to YouTube you don’t disable embedding as this will result in WordPress not being able to do his embed trick.

admin setting: check the ‘Auto-embeds’ check box in Admin > Settings > Media SubPanel. Leaving the width value for Embeds blank, embeds will default to the max width of your theme (set in the ‘content_width’ in function.php).

Leave a Reply

Your email address will not be published. Required fields are marked *

By leaving a comment you agree with the storage and handling of your data by this website. You can learn more about how we handle you comment information in our Privacy Policy. We are using Akismet to reduce comment spam. Learn how they process your comment data.