Microsoft Windows CE 3.0  

Processing Embedded Script Commands

This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

One compelling feature of Advanced Streaming Format (ASF) streams is that they can deliver script commands to the Microsoft Windows Media Player (WMP) control, along with the audio and video streams. These script commands are pairs of Unicode strings synchronized with a particular time in the multimedia stream. The first string identifies the type of command being sent, and the second specifies the command to process. When the stream reaches the time associated with a command, the control sends a ScriptCommandevent to the web page which contains it. An event-handling routine can then respond to this event. The script command strings are passed to the event handler as parameters of the ScriptCommand event.

The WMP control automatically processes the following types of embedded script commands. Event-handling routines are not necessary to process these types of commands.