Re: PreRoll Video

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Wed, 28 May 2008 14:24:42 -0400, "Fuse - ATV"
<WillNotSupply@xxxxxxxxxxxxxxxxxxxxx> wrote:

How do you do preroll video with Windows Media player with video on the web?


Make an ASX playlist with two items - one is your preroll content, and
the second is the users intended content. Ensure you prebuffer the
users content, so it loads while your ad is playing, and lock the
initial entry using clientskip="no". An example might be

<asx version="3.0">
<entry clientskip="no">
<ref href="http://path/to/your/ad.wmv"; />
<title>A message from our sponsors</title>
<param name="Prebuffer" value="True" />
<param name="CanPause" value="No" />
<param name="CanSeek" value="No" />
<param name="CanSkipBack" value="No" />
<param name="CanSkipForward value="No" />
</entry>
<entry>
<ref href="http://path/to/users/video.wmv"; />
<title>A video you asked to watch</title>
</entry>
</asx>


You'll want to set your web server or scripting language to send a
MIME type header of video/x-ms-asf for ASX file content (which you can
generate using any method, XSL processing, string concatenation etc)


HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
.



Relevant Pages