<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Vishal Sood : Smooth Streaming</title><link>http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming/default.aspx</link><description>Tags: Smooth Streaming</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Building your first Smooth Streaming Player using SSME</title><link>http://blogs.iis.net/vsood/archive/2009/10/14/building-your-first-smooth-streaming-player.aspx</link><pubDate>Wed, 14 Oct 2009 22:24:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3458819</guid><dc:creator>vsood</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/vsood/rsscomments.aspx?PostID=3458819</wfw:commentRss><comments>http://blogs.iis.net/vsood/archive/2009/10/14/building-your-first-smooth-streaming-player.aspx#comments</comments><description>&lt;P&gt;In this post I plan to cover building a very basic Smooth Streaming Player using Smooth Streaming Media Element (SSME) part of Smooth Streaming Player Development Kit. In other words, building a “Hello World” equivalent for Smooth Streaming Client (“Hello Smooth Streaming”). This post is split into two parts. In the first part, I will be covering how to get basic playback working in a browser window for Smooth Streaming content. This should be really easy as you will see. In the second part, we would add some basic playback controls like Play, Pause, Stop and Volume controls. &lt;/P&gt;
&lt;H2&gt;Prerequisites&lt;/H2&gt;
&lt;OL&gt;
&lt;LI&gt;You should either have Visual Web Developer or Visual Studio installed along with Silverlight Tools for Visual Studio. You can get more information on this &lt;A href="http://silverlight.net/getstarted/" target=_blank mce_href="http://silverlight.net/getstarted/"&gt;here&lt;/A&gt;. &lt;/LI&gt;
&lt;LI&gt;Install the Smooth Streaming Developer Kit available &lt;A href="http://blogs.iis.net/vsood/archive/2009/10/09/iis-smooth-streaming-player-development-kit-1-0-beta-1-released.aspx" target=_blank mce_href="http://blogs.iis.net/vsood/archive/2009/10/09/iis-smooth-streaming-player-development-kit-1-0-beta-1-released.aspx"&gt;here&lt;/A&gt;. &lt;/LI&gt;
&lt;LI&gt;This is not a XAML overview session so basic XAML knowledge is required. &lt;/LI&gt;&lt;/OL&gt;
&lt;H2&gt;Building a Simple Smooth Streaming Player for Playback&lt;/H2&gt;
&lt;P&gt;The very first thing I wanted to cover here was just basic playback. There are no controls. All you get is a browser window that shows the video playing. &lt;/P&gt;
&lt;P&gt;The below outlines steps to achieve this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open Visual Web Developer or Visual Studio. &lt;/LI&gt;
&lt;LI&gt;Go to: File –&amp;gt; New Project. &lt;/LI&gt;
&lt;LI&gt;Chose Visual C# as project Type and then select Silverlight. Choose Silverlight Application, name it SimplePlayer. &lt;/LI&gt;
&lt;LI&gt;In your project go to references and add a reference to Microsoft.Web.Media.Smoothstreaming.dll (available as a part of Player development Kit) &lt;/LI&gt;
&lt;LI&gt;Modify MainPage.xaml as under. Set the SmoothStreamingSource property in XAML to the location of the Smooth Streaming content. Replace &amp;lt;&amp;lt;Add your URL here&amp;gt;&amp;gt; with the URL of the content (E.g., it will look something like &lt;A href="http://example.com/a.isml/Manifest" mce_href="http://example.com/a.isml/Manifest"&gt;http://example.com/a.isml/Manifest&lt;/A&gt;) &lt;/LI&gt;&lt;/OL&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:8a6dc0a7-50b0-4f3f-9670-88fb6b7bdd20 class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2.5em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;UserControl&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="SimplePlayer.MainPage"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/SPAN&gt; &lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/winfx/2006/xaml"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/expression/blend/2008"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;mc&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.openxmlformats.org/markup-compatibility/2006"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;SSME&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; mc&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Ignorable&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="d"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;DesignWidth&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="640"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;DesignHeight&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="480"&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="LayoutRoot"&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;SSME&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;SmoothStreamingMediaElement&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; AutoPlay&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="True"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="SmoothPlayer"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; SmoothStreamingSource&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="&amp;lt;&amp;lt;Add your URL here&amp;gt;&amp;gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Grid.Row&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="0" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;UserControl&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;This is all you need to get a basic playback working with Smooth Streaming Media Element. &lt;/P&gt;
&lt;H2&gt;Adding Playback Controls to your Player&lt;/H2&gt;
&lt;P&gt;Next, once you have the basic playback working, you may want to add some basic controls like Play/Pause button, Stop Button and Volume Control.&lt;/P&gt;
&lt;P&gt;Here is what you will see after completing the steps below: &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.iis.net/blogs/vsood/image_5BC75040.png" mce_href="http://blogs.iis.net/blogs/vsood/image_5BC75040.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.iis.net/blogs/vsood/image_thumb_4AFFA592.png" width=564 height=460 mce_src="http://blogs.iis.net/blogs/vsood/image_thumb_4AFFA592.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;H3&gt;The UI layout&lt;/H3&gt;
&lt;P&gt;Here are the pieces we need for this in terms of the layout.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Have portion of the screen, which will display the slider control for volume and Play/Pause and Stop buttons &lt;/LI&gt;
&lt;LI&gt;We need a portion for the Video to display &lt;/LI&gt;
&lt;LI&gt;We need to hook these buttons/slider to SSME &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;For the overall layout, we are using XAML constructs of Stack Panels. here is how we do it in this example:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a070c3fb-ebf0-4b9e-b16d-fa60c0f39b4b class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2.5em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;UserControl&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="SimplePlayer.MainPage"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/SPAN&gt; &lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/winfx/2006/xaml"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.microsoft.com/expression/blend/2008"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;mc&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="http://schemas.openxmlformats.org/markup-compatibility/2006"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;SSME&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="clr-namespace:Microsoft.Web.Media.SmoothStreaming;assembly=Microsoft.Web.Media.SmoothStreaming"&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #ff0000"&gt; mc&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Ignorable&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="d"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;DesignWidth&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="640"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; d&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;DesignHeight&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="480"&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="LayoutRoot"&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid.RowDefinitions&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;RowDefinition&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Height&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="0.95*"&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;RowDefinition&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;RowDefinition&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Height&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="0.05*"&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;RowDefinition&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid.RowDefinitions&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;SSME&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;SmoothStreamingMediaElement&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; AutoPlay&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="True"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="SmoothPlayer"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; SmoothStreamingSource&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="&amp;lt;&amp;lt;Add your URL here&amp;gt;&amp;gt;"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Grid.Row&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="0" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;StackPanel&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Orientation&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Horizontal"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Grid.Row&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="1"&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;TextBlock&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Volume"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; VerticalAlignment&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Center"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Text&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Volume"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="50" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Slider&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="VolumeBar"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="60"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Path&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=Volume,&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; ElementName&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=SmoothPlayer,&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Mode&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=TwoWay}" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Button&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="50"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Click&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton_Click"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Loaded&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton_Loaded"/&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Button&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="StopButton"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Content&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Stop"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="50"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Click&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="StopButton_Click" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;StackPanel&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Grid&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;UserControl&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a Grid with two rows: the first row is SSME and second is a horizontal Stack Panel that has volume slide and Pause / Stop buttons. This is all we need to get the basic layout.&lt;/P&gt;
&lt;H3&gt;Linking UI to SSME&lt;/H3&gt;
&lt;P&gt;The next step after getting the UI is to link it back to SSME. We already know how to play the video in SSME. In this section I would cover how to hook up the buttons and the slider.&lt;/P&gt;
&lt;P&gt;Silverlight has a concept of template binding that can be used here. In the case of slider, we have a slider volume UI control and a volume property on SSME. All we need to do here is to tell Silverlight via the XAML to bind the slider value to the volume property on SSME. Here is how we do it:&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:00494a49-6f0a-410c-8800-9aa12a97bbc6 class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Slider&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="VolumeBar"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="60"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Value&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Path&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=Volume,&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; ElementName&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=SmoothPlayer,&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Mode&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;=TwoWay}" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;If you see, all we are doing here is saying that bind the Slider Value to the SmoothPlayer’s Volume&amp;nbsp; Path (or property).&lt;/P&gt;
&lt;P&gt;For the Play / Pause and Stop buttons, we take a slightly different approach here:&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e5ce6466-7de5-4dfa-ae5c-0747552eec77 class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Button&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="50"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Click&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton_Click"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Loaded&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="PlayButton_Loaded"/&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&lt;SPAN style="COLOR: #a31515"&gt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #a31515"&gt;Button&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; x&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;:&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="StopButton"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Content&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="Stop"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Width&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="50"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #ff0000"&gt; Click&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;="StopButton_Click" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Here we want the following to happen:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For the Play/Pause button, we want to do some actions when the button is loaded and then a different action when it is clicked. For this, we hook these actions to PlayButton_Click and PlayButton_Loaded methods in the MainPage.xaml.cs file &lt;/LI&gt;
&lt;LI&gt;For the Stop button we just need to handle the click so we hook up Click with StopButton_Click method. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In the MainPage.xaml.cs file we need to have these methods and do the needful there. Here is what we are doing in this example:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: There are other (better) ways of coding this but for simplicity I have tried to keep it very basic for this example&lt;/P&gt;
&lt;H4&gt;PlayButton_Loaded&lt;/H4&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:7a345661-0906-4b0e-9c84-273980b23a3a class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2.5em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;private&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; PlayButton_Loaded(&lt;SPAN style="COLOR: #0000ff"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="COLOR: #2b91af"&gt;RoutedEventArgs&lt;/SPAN&gt; e)&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;{&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #008000"&gt;//We need to prepopulate the value of Play/Pause button content, we need to check AutoPlay&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;switch&lt;/SPAN&gt; (SmoothPlayer.AutoPlay)&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;case&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;false&lt;/SPAN&gt;:&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlayButton.Content = &lt;SPAN style="COLOR: #a31515"&gt;"Play"&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;break&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;case&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;true&lt;/SPAN&gt;:&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlayButton.Content = &lt;SPAN style="COLOR: #a31515"&gt;"Pause"&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;break&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/LI&gt;
&lt;LI&gt;}&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;PlayButton_Click&lt;/H4&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e149f53b-7795-4d13-8238-c12023689498 class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2.5em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;private&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; PlayButton_Click(&lt;SPAN style="COLOR: #0000ff"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="COLOR: #2b91af"&gt;RoutedEventArgs&lt;/SPAN&gt; e)&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;{&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #008000"&gt;//Monitor the state of the content to determine the right action to take on this button being clicked&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #008000"&gt;//and then change the text to reflect the next action&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;switch&lt;/SPAN&gt; (SmoothPlayer.CurrentState)&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;case&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;MediaElementState&lt;/SPAN&gt;.Playing:&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SmoothPlayer.Pause();&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlayButton.Content = &lt;SPAN style="COLOR: #a31515"&gt;"Play"&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;break&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;case&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;MediaElementState&lt;/SPAN&gt;.Stopped:&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;case&lt;/SPAN&gt; &lt;SPAN style="COLOR: #2b91af"&gt;MediaElementState&lt;/SPAN&gt;.Paused:&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SmoothPlayer.Play();&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlayButton.Content = &lt;SPAN style="COLOR: #a31515"&gt;"Pause"&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #0000ff"&gt;break&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/LI&gt;
&lt;LI&gt;}&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;StopButton_Click&lt;/H4&gt;
&lt;DIV style="PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; DISPLAY: inline; FLOAT: none; PADDING-TOP: 0px" id=scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:ad3c874b-765f-4850-814d-336f2eb36ec7 class=wlWriterEditableSmartContent&gt;
&lt;DIV style="BORDER-BOTTOM: #000080 1px solid; BORDER-LEFT: #000080 1px solid; FONT-FAMILY: 'Courier New', Courier, Monospace; COLOR: #000; FONT-SIZE: 10pt; BORDER-TOP: #000080 1px solid; BORDER-RIGHT: #000080 1px solid"&gt;
&lt;DIV style="PADDING-BOTTOM: 2px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FONT-FAMILY: Verdana, Tahoma, Arial, sans-serif; BACKGROUND: #000080; COLOR: #fff; FONT-WEIGHT: bold; PADDING-TOP: 2px"&gt;Code Snippet&lt;/DIV&gt;
&lt;DIV style="BACKGROUND: #ddd; MAX-HEIGHT: 300px; OVERFLOW: auto"&gt;
&lt;OL style="PADDING-BOTTOM: 0px; MARGIN: 0px 0px 0px 2em; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; BACKGROUND: #ffffff; PADDING-TOP: 0px"&gt;
&lt;LI&gt;&lt;SPAN style="COLOR: #0000ff"&gt;private&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;void&lt;/SPAN&gt; StopButton_Click(&lt;SPAN style="COLOR: #0000ff"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="COLOR: #2b91af"&gt;RoutedEventArgs&lt;/SPAN&gt; e)&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;{&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #008000"&gt;//This should simply stop the playback&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SmoothPlayer.Stop();&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="COLOR: #008000"&gt;//We should also reflect the chang on the play button&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="BACKGROUND: #f3f3f3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PlayButton.Content = &lt;SPAN style="COLOR: #a31515"&gt;"Play"&lt;/SPAN&gt;;&lt;/LI&gt;
&lt;LI&gt;}&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
&lt;H2&gt;Summary&lt;/H2&gt;
&lt;P&gt;In this post, we looked at creating a basic player with common controls for playback of Smooth Streaming Content. Let me know if you have issues or need further help. In subsequent posts I would be diving into adding more features into this player.&lt;/P&gt;
&lt;P&gt;The project sample for this example is availble here(&lt;A href="http://blogs.iis.net/blogs/vsood/SimplePlayer.zip"&gt;SimplePlayer.zip&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: These are just samples meant for educational purposes and there is no guarantee conferred on the quality of code &lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3458819" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming/default.aspx">Smooth Streaming</category><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming+Player+Development+Kit/default.aspx">Smooth Streaming Player Development Kit</category><category domain="http://blogs.iis.net/vsood/archive/tags/SSME/default.aspx">SSME</category></item><item><title>IIS Smooth Streaming Player Development Kit 1.0 – Beta 1 Released</title><link>http://blogs.iis.net/vsood/archive/2009/10/09/iis-smooth-streaming-player-development-kit-1-0-beta-1-released.aspx</link><pubDate>Fri, 09 Oct 2009 19:08:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3450755</guid><dc:creator>vsood</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/vsood/rsscomments.aspx?PostID=3450755</wfw:commentRss><comments>http://blogs.iis.net/vsood/archive/2009/10/09/iis-smooth-streaming-player-development-kit-1-0-beta-1-released.aspx#comments</comments><description>&lt;P&gt;Today, we released IIS Media Services 3.0 that supports both On Demand, Live Smooth Streaming and IIS Advanced Logging. Please refer to the announcement&amp;nbsp; of this release in&amp;nbsp; Chris Knowlton’s &lt;A href="http://blogs.iis.net/chriskno/archive/2009/10/12/iis-media-services-3-0-including-iis-live-smooth-streaming-has-been-released.aspx" target=_blank mce_href="http://blogs.iis.net/chriskno/archive/2009/10/12/iis-media-services-3-0-including-iis-live-smooth-streaming-has-been-released.aspx"&gt;blog post&lt;/A&gt; for details. As a part of this release, we are very both excited and pleased to announce and release a &lt;STRONG&gt;Beta&lt;/STRONG&gt; of &lt;STRONG&gt;IIS Smooth Streaming Player Development Kit 1.0&lt;/STRONG&gt;. This is intended to aid the development of rich Smooth Streaming players and experiences. This Kit allows you to build players for both On Demand and Live playback with full DVR capabilities, Live Ad Insertion, Multiple Camera Angles and many more such rich functionalities. This Kit is available for download here – &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2b1ce605-3b99-49ad-8a26-1250f2acbbf6&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2b1ce605-3b99-49ad-8a26-1250f2acbbf6&amp;amp;displaylang=en"&gt;Download IIS Smooth Streaming Player Development Kit 1.0 – Beta 1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The kit includes:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;B&gt;Smooth Streaming Player SDK&lt;/B&gt; – This enables developers and designers to build rich Smooth Streaming player experiences. We are providing a .net (Silverlight) based SDK with full XAML support. The core part of this infrastructure is Smooth Streaming Media Element that is similar to Silverlight Media Element if you are already familiar with Silverlight development platform. There is initial documentation of the APIs are available on &lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.aspx" mce_href="http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.aspx"&gt;MSDN&lt;/A&gt;. &lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Push Encoder&lt;/B&gt; – This tool allows you to simulate a live stream for testing purposes. &lt;/LI&gt;
&lt;LI&gt;&lt;B&gt;Sample Smooth Streaming Player&lt;/B&gt; (built on Smooth Streaming Player SDK) – This is a sample that uses Smooth Streaming Player SDK and enables you to test the IIS Media Services 3.0. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;More instructions on using the Sample player and Push Encoder to test Live Smooth Streaming in your environment are available in the walkthrough &lt;A href="http://learn.iis.net/page.aspx/620/live-smooth-streaming-for-iis-70---getting-started/" mce_href="http://learn.iis.net/page.aspx/620/live-smooth-streaming-for-iis-70---getting-started/"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As I mentioned earlier, the Smooth Streaming Media Element (SSME) APIs provide an easy interface for developers and designers to create rich Smooth Streaming experiences using the Silverlight platform. These APIs provide support for simple operations like Play, Pause and Stop and also more complex ones like scheduling Ads, selecting and tracking bit-rates for Smooth Streaming playback and many more. Please stay tuned on this blog for samples on how to use these APIs to build experiences. I will start with basic playback and progress on to building richer player applications. &lt;/P&gt;
&lt;P&gt;In the meantime here is a high level overview of features that SSME supports today:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Basic Playback controls 
&lt;UL&gt;
&lt;LI&gt;APIs like Play, Pause, Stop, etc. &lt;/LI&gt;
&lt;LI&gt;Events for Playback and Diagnostics &lt;/LI&gt;
&lt;LI&gt;Properties to track position, etc. &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Advanced Playback support 
&lt;UL&gt;
&lt;LI&gt;DVR support for Live Smooth Streaming &lt;/LI&gt;
&lt;LI&gt;Trick Play: Slow Motion &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Monetization 
&lt;UL&gt;
&lt;LI&gt;Ad Playback integration – scheduling capabilities, tracking Ad progress &lt;/LI&gt;
&lt;LI&gt;Live Ad Insertion w/ Live Smooth Streaming &lt;/LI&gt;
&lt;LI&gt;Rich Analytics w/ IIS Advanced Logging &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;Content Protection – PlayReady integration &lt;/LI&gt;
&lt;LI&gt;XAML support for designers &lt;/LI&gt;
&lt;LI&gt;Selecting Tracks for playback (e.g., restrict the bit-rates available, support multiple camera angles in a single stream, etc.) &lt;/LI&gt;
&lt;LI&gt;Support for progressive download Ads/content &lt;/LI&gt;
&lt;LI&gt;Almost all of the Silverlight Media Element APIs are available for Smooth Streaming w/ SSME &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Resources&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2b1ce605-3b99-49ad-8a26-1250f2acbbf6&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2b1ce605-3b99-49ad-8a26-1250f2acbbf6&amp;amp;displaylang=en"&gt;Download IIS Smooth Streaming Player Development Kit 1.0 – Beta 1&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.aspx"&gt;API documentation&lt;/A&gt; for Smooth Streaming Player SDK&lt;/LI&gt;
&lt;LI&gt;More Information on &lt;A href="http://www.iis.net/extensions/SmoothStreaming" target=_blank mce_href="http://www.iis.net/extensions/SmoothStreaming"&gt;Smooth Streaming&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;More Information on &lt;A href="http://www.iis.net/extensions/LiveSmoothStreaming" target=_blank mce_href="http://www.iis.net/extensions/LiveSmoothStreaming"&gt;Live Smooth Streaming&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Hope you have fun using this SDK, the same way we did developing it. &lt;/P&gt;
&lt;P&gt;Happy Smooth Streaming.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3450755" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming/default.aspx">Smooth Streaming</category><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming+Media+Element/default.aspx">Smooth Streaming Media Element</category><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming+Player+Development+Kit/default.aspx">Smooth Streaming Player Development Kit</category></item><item><title>Video: TechEd NA 2009 - Advanced Video Delivery with IIS</title><link>http://blogs.iis.net/vsood/archive/2009/05/16/video-teched-na-2009-advanced-video-delivery-with-iis.aspx</link><pubDate>Sat, 16 May 2009 20:11:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:3167325</guid><dc:creator>vsood</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/vsood/rsscomments.aspx?PostID=3167325</wfw:commentRss><comments>http://blogs.iis.net/vsood/archive/2009/05/16/video-teched-na-2009-advanced-video-delivery-with-iis.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Earlier this week I gave a TechEd session on IIS Media Services - Smooth Streaming, Advanced Logging and the IIS Media Services Ecosystem overall. Thanks to everyone who made it to this talk. It was really nice to have&amp;nbsp;you there and your interest in technology was immense.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Here is the recorded session delivered with Smooth Streaming in case you were not able to make it to the talk.&lt;/P&gt;
&lt;P mce_keep="true"&gt;

				        &lt;!--##blog-video-start##--&gt;&lt;!--##blog-video-params:width=500|height=384|isAdaptive=True|title=Advanced Media Delivery with IIS|url=http://mediadl.microsoft.com/mediadl/iisnet/SmoothMedia/TechEdNA09/WSV301/WSV301.ism/Manifest##--&gt;

					        &lt;object id="SilverlightMediaPlayer" style="width:500px;height:384px;" width="500" height="384" autoupdate="true" type="application/x-silverlight-2"&gt;
						        &lt;param name="MinRuntimeVersion" value="2.0.31005.0" /&gt; 
						        &lt;param name="Source" value="/clientbin/AdaptiveStreaming.xap" /&gt; 
						        &lt;param name="windowless" value="false" /&gt;
						        &lt;param name="InitParams" value='fakemode=,background=#FF000000,autoplay=False,muted=False,stretchmode=0,playlist=&lt;playList&gt;&lt;playListItems&gt;&lt;playListItem title="Advanced Media Delivery with IIS" description="" mediaSource="http://mediadl.microsoft.com/mediadl/iisnet/SmoothMedia/TechEdNA09/WSV301/WSV301.ism/Manifest" adaptiveStreaming="True" thumbSource=""&gt;&lt;/playListItem&gt;&lt;/playListItems&gt;&lt;/playList&gt;' /&gt; 
								&lt;a style="text-decoration: none;" href="http://blogs.iis.net/vsood/archive/2009/05/16/video-teched-na-2009-advanced-video-delivery-with-iis.aspx"&gt;
									&lt;img style="border-width:0px" alt="Click to see video" src="http://blogs.iis.net/Themes/IIS/images/content/IIS-Video-Link-for-RSS.png" /&gt; 
								&lt;/a&gt;
							&lt;/object&gt;
                            
				        &lt;!--##blog-video-end##--&gt;

			         &lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=3167325" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/vsood/archive/tags/IIS+Media+Services/default.aspx">IIS Media Services</category><category domain="http://blogs.iis.net/vsood/archive/tags/Smooth+Streaming/default.aspx">Smooth Streaming</category></item></channel></rss>