Set Silverlight template options

To maximize the interactivity and flexibility of your media, encode using a Microsoft Silverlight template. Microsoft Expression Encoder includes templates that you can use for your video. Some templates are designed to take advantage of the marker thumbnail feature in Expression Encoder, which you can use to create chapter markers that your viewers can use to navigate to specific points in your video.

If you want to experiment with several templates in order to test their look or functionality, you can do so very quickly. Once you have encoded a video using a particular template, you can subsequently preview any of the other remaining templates. Just choose a new template in the Job Output panel, and Expression Encoder will quickly display your video in the new template. If you changed the template but not the profile, Expression Encoder does not have to re-encode the video, only the template, and so it displays an almost immediate preview.

Before you set Silverlight template options, perform both of these steps:

  • Decide if you have to trim, crop, change the dimensions, or adjust the pixel aspect ratio of your video.

    For more information, see Crop video.

  • Set an encoding profile.

    For more information, see Preparing your media for encoding.

Template options

The Silverlight options are in the Output panel. If you can't see the Output panel, on the Window menu, click Output.

Set the Silverlight template options according to the following guidelines:

  • Template   If you want to use a template, choose one from this menu. You can apply only one template per job.

  • Preview   See a preview of your template in this area. You can quickly preview all the templates by pressing UP ARROW or DOWN ARROW. To see a full-sized preview, click the preview image.

The following options appear after you select a template and then click Show/Hide advanced propertiesEe341428.2f8a79a9-68d2-4878-8b75-c76ceb921b3b(en-us,Expression.30).png. Set these options according to the following descriptions:

  • Automatically start video when cued   Select this option if you want the video to begin playing when it is downloaded. If you clear this option, the video will still download and display a frame, but will not begin to play until the user initiates playback.

  • Automatically cue video when page is loaded   Select this option to specify whether you want the browser to download and cue a video when the page loads. If you do not select this option, the browser does not download and cache the video and, instead, displays a Start button that the user must click to download and play the video.

  • Allow closed captions to show   Select this option if you want the viewer to be able to view closed captions.

  • Mute player on start   Select this option if you want the video to start with audio muted. The viewer can then choose to enable the audio.

  • Display Timecode   Select this option if you want your viewer to see the video timecode.

  • Enable Cached Composition   Select this option to take advantage of a Silverlight feature that enables the caching of visual elements and the subsequent displaying of the cached data instead of initiating another rendering of the element. Use of this feature can result in greatly improved performance.

    For more information about this feature, see About Silverlight templates.

  • Enable Player popout   Select this option to enable a viewer to play your video outside the browser.

  • Enable Player to be run offline   Select this option to enable a viewer to download your video and play it later from a hard disk drive.

  • Stretch Mode   Select this option to specify how the browser will stretch the dimensions of the encoded video. Set the options as follows:

    • Choose Fill to have your encoded video fill the destination dimensions and not preserve the source aspect ratio.

    • Choose Uniform to Fill to resize the encoded video to fill the destination dimensions and preserve the aspect ratio. If the aspect ratio of the source differs from the destination, the source video is clipped to compensate.

    • Choose Uniform to resize the encoded video to fill the destination dimensions and preserve the aspect ratio. If the aspect ratio of the source differs from the destination, the browser adds black bars to the areas of the destination that are larger than the source.


Once you choose the parameters for the advanced properties, Expression Encoder writes them to the Default.html file for the template. You can also manually edit those parameters. To access the file from Expression Encoder, click the white box next to the Template menu and choose Open Template Location. Right-click the Default.html file, and choose the option that opens the file in Notepad.

See also


Set Silverlight template options