RSS feed

Adding video to RSS

Video is becoming more popular especially bloggers adding video to their posts. Many bloggers and video web publishers are realising that video in their posts are not appearing correctly in their RSS feeds.

Embed and Object

At the moment you are probably using the embed and object tags. This is fine for standard web pages but not for RSS readers. Some readers will be able to display your video but most will not.


At Newsniche we like to do things the correct way, so here it is. To add video to your feed you need to put it into an enclosure. An enclosure is an element of an item, that means your feed can have the element tag within the item tag. You can only have one enclosure for each item, which means one video per post. These are the rules.

The enclosure is only one line and has the following format.

<enclosure url="" length="62256320" type="video/mpeg" />

You need to supply the URL of you video file, the size of the file in bytes and the MIME type. The first two variables are self explanatory, the third parameter will depend on the format of your video file.

Enclosure MIME types

Here are a few of the most popular video MIME type that you may need for your video.

video/mpeg (mpeg mpg mpe)

video/quicktime (qt mov)

video/x-msvideo (avi)

video/mp4-es (mp4)

video/x-ms-wmv (wmv)

video/x-shockwave-flash (swf)

You will need to place the enclosure tag within the item tags, this will replace the object/embed code within the RSS feed. You will still need the object/embed code for your website.

How your enclosure is rendered

Even though you have now added the correct code this is no guarantee of how the end user will see the video. Depending on which RSS reader the user has will depend on how the video is displayed.

Archives  Site Map  RSS Directories  RSS Tools  Subscribe via RSS 

subscribe to the Newsniche RSS feed

OR subscribe via Email Feed Compare Feedburner subscriber graphs RSS advertising with Bidvertiser 3 things you really want to know about RSS Checking your own RSS feeds Selling RSS subscribers a sad day RSS Hugger FeedBurner feed count drop The value of an RSS subscriber at 30 dollars John Chow vs Shoemoney RSS competition How to display your RSS subscriber count How to transfer an RSS feed in FeedBurner RSS spam Protecting your RSS feeds image replacement Exchanging RSS feeds to increase subscribers River of news is now a flood and how not to drown in it The Best RSS podcast reader FeedGhost contest winner and the eBay RSS experiment RSS Brief feed summary RSS adgregation with Blogrush More secret RSS competitions  Books about RSS Displaying RSS How to RSS News readers PHP RSS RSS advertising RSS Articles RSS autoresponders RSS content RSS in action RSS News RSS promotion RSS Publishers FAQ RSS publishing tools RSS resources RSS Subscribers FAQ RSS thoughts RSS tips and advice RSS tools reviewed RSS validators RSS widgets and tools Site admin