1 June 2010 | WordPress

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:

ServiceEmbed Type
AnimotoVideos
BlipVideos
CollegeHumorVideos
DailyMotionVideos
FlickrVideos & Images
FunnyOrDie.comVideos
ImgurImages
InstagramImages
iSnareArticles
IssuuDocuments
Meetup.comVarious
EmbedArticlesVarious
MixcloudMusic
PhotobucketImages
PollDaddyPolls & Surveys
ScribdDocuments
SlideSharePresentation slideshows
SmugMugVarious
SoundCloudMusic
SpotifyMusic
TEDVideos
TumblrSocial media
TwitterSocial media
VimeoVideo
VineVideo
WordPress.tvVideos
YouTubeVideos

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.