Exploring Custom providers - Wrapper playlists
In my blog post yesterday I mentioned that we will be releasing sample code written by our teams as reference. Here is the first one.
Prakash blogged about a custom provider that provides a wrapper playlist like functionality through a simple playlist provider. The provider in its current form automatically inserts an ad before the requested video without having to use a physical playlist in the back end. I would encourage you to go and and change the code to meet your needs. A few ways you could change is by pulling an from a database, having a custom logic while determining which ad is to be played, etc.
The online walkthrough that covers writing custom providers is available here.
I would be really happy to hear back on how you used it in your environment.
We have more samples coming up, so please stay tuned!