Player Framework and 3rd party video ads

I wanted to share a powerful library that I came across for integrating HLS and smooth streaming video into Windows8 apps. It’s called Player Framework and it’s an open sourced library from Microsoft that makes integration of HLS and smooth streaming video into win8 app pretty easy. The most common theme used when integrating video’s into app is the requirement to insert advertising. Integrating ads into video aps from 3rd parties is incredibly simple with this framework. It also supports the widely Popular VAST format in which video ad information is relayed.

The player framework makes this incredibly simple to do.

To try this out you can have 3rd party ad’s running in your application in no time.
 
First off there are 2 pre reqs for the Player framework which can be found here:
http://visualstudiogallery.msdn.microsoft.com/e02ccac7-f3eb-4b53-b11a-c657d5631483
 
http://visualstudiogallery.msdn.microsoft.com/04423d13-3b3e-4741-a01c-1ae29e84fea6?SRC=Home
 
Once these are downloaded and the player framework is downloaded and installed (http://playerframework.codeplex.com/releases)  
 
After this is setup you can download and run the example code here: http://playerframework.codeplex.com/downloads/get/771040
 
Open up the project Microsoft.PlayerFramework.Xaml.Samples project and check out the file ProgrammaticAdPage.xaml
 
To get this to work with yume I simple modified the following line

                var adSource = new RemoteAdSource() { Type = VastAdPayloadHandler.AdType, Uri = new Uri(“http://shadow01.yumenetworks.com/dynamic_preroll_playlist.vast2xml?domain=1552hCkaKYjg&exclude_placements=70414&”) };
 
 
Which one the demo is launch and you navigate to the ProgrammeticAdPage example showed me a Ford Ad mid roll. ( the default will show an xbox ad)
 

Hope this helps you getting started with microsofst player framework and integrating 3rd party video advertising.

Alp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s