Thursday, April 3, 2008

Dynamic ASX playlists...

Hi there,

little off topic, but if you ever wondered how to create dynamic ASX playlists, then here it is, one line of ASP code:

Response.ContentType = "video/x-ms-asf";

This will instruct ASP page not to use HTML content type, and enable it to write out pure ASX playlist in plain boring fashion:

Response.Write(...

Now all you need is to point your media player / silverlight to your asp page, and that's it.
All ASX functionality in dynamic package.