Customize an Expression Encoder template for Silverlight
Microsoft Expression Encoder uses templates to create video experiences by encoding video and displaying it in a media player. The player can be skinned by using a template. Expression Encoder templates are a collection of HTML and XAML that together define the video player user interface (UI) and interactivity.
Expression Encoder includes a Microsoft Silverlight template that you can use to present your videos. However, you are not restricted to using the default template. Because of the extensibility of Expression Encoder, you can create your own Silverlight video player using such tools as Microsoft Expression Blend, and then make the player available for Expression Encoder to use as a custom template.
To modify a Silverlight template for use in Expression Encoder
If you cannot see the Output panel in Expression Encoder, click Output on the Window menu.
In the Output panel, under Job Output, select one of the Silverlight templates from the drop-down list next to Template. An image appears next to Preview to show you what the media player template will resemble.
On the Output options menu , point to Edit copy of template in, and then click Expression Blend.
If you already modified the template that your Expression Encoder project is using, you can select Edit in Expression Blend from the drop-down menu to make further changes to the template.
In Expression Blend, in the Objects and Timeline panel, expand the LayoutRoot node. The functionality of the player is contained in a user control named myPlayer. To modify the appearance of the player, right-click myPlayer, point to Edit Template, and then click Edit a Copy.
Once you are working on the template of the user control, you can begin to change the visual design by adding, modifying, or deleting objects. You can also skin controls by editing the template of the control.
For more information, see the following topics:
Make your changes in Expression Blend and then save your files (click Save on the File menu). When you return to Expression Encoder, the Preview window will display the edited template. You can then use the template for future encoding.
You can use the modified template to encode video in an Expression Encoder project. For more information, see the topics in the "Encode your video for Microsoft Silverlight and the web" section of the Expression Encoder User Guide (F1).
You can deploy your encoded video and Silverlight player to a website. After encoding your video in Expression Encoder using the modified Silverlight template, you can deploy the output to a website.
For more information, see Deploy a Silverlight application to a website.