Airplay not working through safari on iPad.

Not sure whether this is a firecore problem or not, but here goes:

When I try to use Airplay through Safari from my iPad I get the error: “An error occurred loading this content. Try again Later”

Pastebin from syslog on Apple TV: Dec 11 15:26:24 Apple-TV airtunesd[50]: 2012-12-11 03:26:24.718739 PM [MediaCont - Pastebin.com

 

The weird thing is, this only happens from Safari (or Chrome) on my iPad. If I use the the youtube app or apples built-in movies app, everything is fine.

We have two iPhones in the house, none of them have any problems using airplay with the same Apple TV.

 

Info:

Apple tv 2. gen, iOS 5.0.1.

Installed plugins: Media player, xbmc.

 

Any ideas?