Advertisement Support

banner art

Previous Next

Server-side playlist entries can be identified as advertisements by specifying a role attribute with a value of "Advertisement". This is illustrated by the following example.

<?wsx version="1.0"?>
<smil>
    <media src= "c:\wmpub\wmroot\ad_1.wmv" role="Advertisement" />
    <media src="%RequestedURL%" />
    <media src= "c:\wmpub\wmroot\ad_2.wmv" role="Advertisement" />
</smil>

When the client sends a log, it identifies that it played an advertisement by submitting a cs-media-role value equal to "ADVERTISEMENT". The client log is either created and sent to the server or simulated by the server every time that a playlist entry stops playing.

See Also

Previous Next