Customize an Expression Encoder template for Silverlight

Customize an Expression Encoder template for Silverlight

Dd185498.0b2c798e-86c6-4ea2-a8a6-5cf1f12be1e2(en-us,Expression.30).png

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.

  1. If you cannot see the Output panel in Expression Encoder, click Output on the Window menu.

  2. 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.

  3. On the Cog menu Dd185498.c043ff11-e91a-4d07-bccb-0d6f50e7d3cb(en-us,Expression.30).png, point to Edit copy of template in, and then click Expression Blend.

    Dd185498.alert_note(en-us,Expression.30).gifNote:

    If you already modified the template that your Expression Encoder project is using, you can select Edit in Expression Blend from the dropdown menu to make further changes to the template.

  4. 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.

  5. 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:

  6. 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.

Next steps

  • 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.

Community Additions

ADD
Show:
© 2016 Microsoft