Inserting scripts
Windows Media Encoder enables you to insert script into a stream while you are encoding. The scripts are saved as part of the stream. The encoder supports three types of scripts:
- Captions. Free-form text strings that are displayed in Windows Media Player along with your other encoded content. In order for the captions to be visible, the Windows Media Player must have the Captions option selected. To turn captions on in Windows Media Player, on the View menu, click Now Playing Tools, and then click Captions.
- URLs. When inserted into a stream, the URL opens the browser and takes the user to the specified address.
- Custom script commands. A two-part command that consists of a type and a value. When the player receives the script command, it fires an event, such as launching a Web page with an embedded player.
Because these scripts are saved in the stream, they are not available for editing.
Inserting scripts into an encoding session requires that you use a profile that supports scripts. None of the system profiles installed with the encoder are configured to use scripts, but you can use Profile Manager to create your own.
Related topics
© 2000-2001 Microsoft Corporation. All rights reserved.