Silverlight Player Blank When Changing ism file

Posted by Al Katawazi on Stack Overflow See other posts from Stack Overflow or by Al Katawazi
Published on 2010-04-22T14:43:38Z Indexed on 2010/04/22 16:03 UTC
Read the original article Hit count: 318

I am trying to get silverlight smooth streaming going on a site I am bilding and it works fine with the big buck bunny sample code which looks like this:

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%" id="Object2">
<param name="source" value="SmoothStreamingBlackGlass.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="initparams"value='autoplay=False,muted=False,stretchmode=0,displaytimecode=False, playlist=<playList><playListItems><playListItem title="Big%20Buck%20Bunny" description="" mediaSource="Big%20Buck%20Bunny.ism/Manifest" adaptiveStreaming="True" thumbSource="Big%20Buck%20Bunny_Thumb.jpg" frameRate="24.0000384000614" ></playListItem></playListItems></playList>' />
<a href="http://go2.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"><img src="http://go2.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none" /></a>
</object>
<iframe style="visibility:hidden;height:0;width:0;border:0px"></iframe>

but if i change the code like this i only get a blank area when the page is rendered instead of the movie clip.

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%" id="Object2">
<param name="source" value="SmoothStreamingBlackGlass.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="initparams"value='autoplay=False,muted=False,stretchmode=0,displaytimecode=False, playlist=<playList><playListItems><playListItem title="Robotica_1080" description="" mediaSource="Robotica_1080.ism/Manifest" adaptiveStreaming="True" thumbSource="Robotica_1080_Thumb.jpg" frameRate="24.0000384000614" ></playListItem></playListItems></playList>' />
<a href="http://go2.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"><img src="http://go2.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style: none" /></a>
</object>
<iframe style="visibility:hidden;height:0;width:0;border:0px"></iframe>

Any ideas? I am using Encoder 3 to do the encoding set on microsoft smooth streaming for 720p with all the default settings.

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about expression-encoder