<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.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/"><channel><title>Hosting and Streaming</title><link>http://forums.silverlight.net/forums/15.aspx</link><description>Discussions about hosting and streaming Silverlight applications 

 
</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/51610.aspx</link><pubDate>Tue, 06 May 2008 23:32:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:51610</guid><dc:creator>SpartyGuy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/51610.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=51610</wfw:commentRss><description>&lt;p&gt;If you have the ability to run some of your own asp.net code on your server, you can check out my solution to this problem.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://www.slickthought.net/post/2008/04/Cracking-the-Silverlight-Streaming-Direct-Content-Access-Code.aspx"&gt;http://www.slickthought.net/post/2008/04/Cracking-the-Silverlight-Streaming-Direct-Content-Access-Code.aspx&lt;/a&gt;&amp;nbsp;and &lt;a href="http://www.slickthought.net/post/2008/05/Cracking-the-Silverlight-Streaming-Direct-Content-Access-Code---Part-II.aspx"&gt;http://www.slickthought.net/post/2008/05/Cracking-the-Silverlight-Streaming-Direct-Content-Access-Code---Part-II.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both are a lot &amp;quot;cleaner&amp;quot; to use on the client than dealing with funky initParams and such.&lt;/p&gt;</description></item><item><title>Re: Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/43276.aspx</link><pubDate>Wed, 02 Apr 2008 04:33:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:43276</guid><dc:creator>Frogs69</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/43276.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=43276</wfw:commentRss><description>&lt;p&gt;See &lt;a href="http://silverlight.net/forums/t/12326.aspx"&gt;http://silverlight.net/forums/t/12326.aspx&lt;/a&gt;...&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;</description></item><item><title>Re: Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/40826.aspx</link><pubDate>Tue, 25 Mar 2008 13:49:39 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40826</guid><dc:creator>meetchandu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40826.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=40826</wfw:commentRss><description>&lt;p&gt;Nope.. that didnt work. looks like js is the only option. If you are not restricted to use silverlight media element you could use the live controls&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/40822.aspx</link><pubDate>Tue, 25 Mar 2008 13:24:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40822</guid><dc:creator>KevMoore123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40822.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=40822</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Did you ever get anywhere with this?&amp;nbsp; I too am trying to stream content from my SLS account to a MediaElement control in SilverLight 2.&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;
&lt;p&gt;Kev&lt;/p&gt;</description></item><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/40059.aspx</link><pubDate>Sun, 23 Mar 2008 01:19:13 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:40059</guid><dc:creator>Buhari</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/40059.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=40059</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I am working on how to connect silverlight streaming video using MediaElement&amp;#39;s Source property in C#.&lt;/p&gt;
&lt;p&gt;I could not find it out any sample in net. &lt;/p&gt;
&lt;p&gt;But I tried . Can anyone tell me what is the issue with the following code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;private&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;void&lt;/font&gt;&lt;font size="2"&gt; OnStartup(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;object&lt;/font&gt;&lt;font size="2"&gt; sender, &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;StartupEventArgs&lt;/font&gt;&lt;font size="2"&gt; e) &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// Load the main control here&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; sVideoUri = e.InitParams[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;video1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;].ToString(); //&lt;font color="#a31515"&gt;video1=&lt;font color="#0000ff" size="2"&gt;streaming:/&amp;lt;acct id&amp;gt;/Lake&lt;font color="#a31515"&gt;/Lake.wmv&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#a31515"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.RootVisual = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Page&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MediaElement&lt;/font&gt;&lt;font size="2"&gt; meVideo = ((&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MediaElement&lt;/font&gt;&lt;font size="2"&gt;)((&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;UserControl&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;this&lt;/font&gt;&lt;font size="2"&gt;.RootVisual).FindName(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;meVideo&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;));&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;meVideo.SetValue(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;MediaElement&lt;/font&gt;&lt;font size="2"&gt;.SourceProperty, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Uri&lt;/font&gt;&lt;font size="2"&gt;(sVideoUri,&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;UriKind&lt;/font&gt;&lt;font size="2"&gt;.RelativeOrAbsolute));&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;meVideo.Play();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/font&gt;If you have any workign samples in C#, please share it? &lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;</description></item><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/38450.aspx</link><pubDate>Tue, 18 Mar 2008 13:47:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38450</guid><dc:creator>meetchandu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/38450.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=38450</wfw:commentRss><description>&lt;p&gt;Great.. Thank you very much for the sample. Cant we do that same stuff that we do in js in C#/.&lt;/p&gt;
&lt;p&gt;Like for example, If i have a media control on the xaml page. Cant i set the source property to some url using C# code rather than js?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/38280.aspx</link><pubDate>Tue, 18 Mar 2008 03:51:24 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:38280</guid><dc:creator>Frogs69</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/38280.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=38280</wfw:commentRss><description>&lt;p&gt;Hi, I have posted it on &lt;a href="http://dev.live.com/silverlight/downloads/SL_v1_player_sample.zip"&gt;http://dev.live.com/silverlight/downloads/SL_v1_player_sample.zip&lt;/a&gt;. The v10 folder contains a regular SL v1 player (xaml and js) from Expression Encoder. The files relevant to this thread are: WebPageSample.htm and JavaScriptSample.js.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;u&gt;In WebPageSample.htm the parts that matter are the following:&lt;/u&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="courier new,courier"&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;JavaScriptSample.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/strong&gt; this is where you reference the script&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="courier new,courier"&gt;var p = new StartPlayer();&lt;/font&gt;&lt;/strong&gt; this is where you create the instance of your player on your site.&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;em&gt;In JavaScriptSample.js, the parts that matter are the following:&lt;/em&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="courier new,courier"&gt;initParams: [&amp;quot;streaming:/SLS_account_ID/File_set/File_Name.wmv&amp;quot;] &lt;/font&gt;&lt;/strong&gt;this is where you pass the &amp;quot;URL&amp;quot; to your video file&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;font face="courier new,courier"&gt;this._player.set_mediaUrl (params[0]);&lt;/font&gt;&lt;/strong&gt; this is where you set the value of mediaUrl to be the translated http URL&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/37500.aspx</link><pubDate>Sat, 15 Mar 2008 13:54:27 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:37500</guid><dc:creator>meetchandu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/37500.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=37500</wfw:commentRss><description>Thanks for the information. I would really appreciate if you can provide the xaml code</description></item><item><title>Re: Video Urls</title><link>http://forums.silverlight.net/forums/thread/37293.aspx</link><pubDate>Fri, 14 Mar 2008 20:32:23 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:37293</guid><dc:creator>Frogs69</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/37293.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=37293</wfw:commentRss><description>&lt;p&gt;Hi, right now this is only possible by passing the video &amp;quot;URL&amp;quot; at initialization time through initParams.&amp;nbsp;If your video file is hosted in SLS, by virtue of passing a &lt;font face="courier new,courier"&gt;streaming:/&lt;/font&gt; &amp;quot;URL&amp;quot; via the initParams of your app, you&amp;#39;ll be able toassign the value to a media source asit will be converted to a &lt;font face="courier new,courier"&gt;http://&lt;/font&gt; URL consumable in the code of your app. This is documented on &lt;a href="http://dev.live.com/silverlight/initparams.aspx"&gt;http://dev.live.com/silverlight/initparams.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However it looks like you&amp;#39;re mixing up the made up URL to Silverlight Streaming with the fully qualified URL into the CDN cache. The former should be constrcuted as &lt;font style="BACKGROUND-COLOR:#ffff00;" face="courier new,courier"&gt;streaming:/your_SLS_account_ID/file_set/file_name.wmv&lt;/font&gt;. The latter is usually some long and ugly &lt;font style="BACKGROUND-COLOR:#ffff00;" face="courier new,courier"&gt;http://&lt;/font&gt; URL with a time stamp, a file signature, and a ton of CDN cache information on the path. You should &lt;strong&gt;&lt;u&gt;not&lt;/u&gt;&lt;/strong&gt; use that URL.&lt;/p&gt;
&lt;p&gt;I do not have a C# sample, but I can give you a XAML one if you like.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;</description></item><item><title>Video Urls</title><link>http://forums.silverlight.net/forums/thread/32972.aspx</link><pubDate>Thu, 28 Feb 2008 08:30:01 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:32972</guid><dc:creator>meetchandu</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/32972.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=15&amp;PostID=32972</wfw:commentRss><description>&lt;p&gt;Hi All&lt;/p&gt;
&lt;p&gt;I was able to upload few videos successfully. I am using teh Media control in ASP.NET Futures. The video Url i have is &lt;/p&gt;
&lt;p&gt;streaming:/xxxx/6eff01ebfa764660a0df0b5c77a8c368/04930650b0314d0cb0c441f3f7c1d8f6_Butterfly.wmv. How do I use this to set the MediaUrl property of the control&lt;/p&gt;
&lt;p&gt;I prefer doing&amp;nbsp;this in C#. &lt;/p&gt;
&lt;p&gt;Please suggest&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>