Frank La Vigne

Fear and Loathing in .NET

MVP Logo
Tablet PC MVP

Social Networks

Subscription Options

Add to Google

Subscribe in Bloglines

My Links


Post Categories

Archives

Image Galleries

Cached @ 9/8/2010 1:58:04 PMControl ASP.skins_marvin3_controls_archivelinks_ascx

GamerTag

Dev Community Events

Blog Stats

Cached @ 9/8/2010 1:58:04 PMControl ASP.skins_marvin3_controls_blogstats_ascx  

News


Blog Roll

Favorite Sites

Gadget Blogs

Tablet PC Links

Cached @ 9/8/2010 1:58:04 PMControl ASP.skins_marvin3_controls_categorydisplay_ascx

Stream the BP Live Feed via Silverlight

You can now watch the live feed from BP’s underwater robots as they try to plug the oil leak from Frank’s World.

How did I do this, you may ask? Did I send a little robot down to follow their robots around the sea floor?

As cool as it sounds, the answer is much, much simpler.

The other day, I noticed that BP’s live feed from the source of the oil spill was using a Windows Media stream.

A quick view-source on the page revealed the video source URL was:

http://mfile.akamai.com/97892/live/reflector:46245.asx?bkup=46260

I created a simple Silverlight project and inserted the following line of code:

   1: <MediaElement Source="http://mfile.akamai.com/97892/live/reflector:46245.asx?bkup=46260" />

There you have it.

Unlike the WJLA live video feeds, the BP allows HTTP streaming. That’s why this works in Silverlight and I didn’t have to resort to using an XBAP like I did with the DC Traffic and Weather app.

posted on Tuesday, June 01, 2010 9:53 PM

============ Debug Build ============
Dottext Version: 0.95.2004.102
Machine Name: IIS07901
.NET Version: 2.0.50727.3053
No User
============ Debug Build ============