Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight player streaming , +
Hi all!
This is my first question here so you know.

I'm having some problems with creating my own Smooth Streaming Player.
 
I received the standard code from my client but the standard player is not god for this type. The problem is that the buttons must be invisible and a mouseover effect should display Play/Pause And Fullscreen. All that is done in my other player! But here is where it is going wrong. When i put in our url in the media source it will not work.
 
I past in some sample code. Here is a playlist with three items. The first two works fine. But the last one will note work.
 
<smf:SMFPlayer x:Name="player" Grid.Row="0" AutoPlay="False">
    <smf:SMFPlayer.Playlist>
        <media:PlaylistItem
            DeliveryMethod="AdaptiveStreaming"
 MediaSource="http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest"/>
        <media:PlaylistItem
            DeliveryMethod="AdaptiveStreaming"
            SelectedCaptionStreamName="textstream_eng"
 MediaSource="http://streams.smooth.vertigo.com/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest"/>
        <media:PlaylistItem
            DeliveryMethod="AdaptiveStreaming"
            SelectedCaptionStreamName="textstream_eng"
MediaSource="http://streaming.educateports.com/livesmoothstream.isml/manifest"
   </smf:SMFPlayer.Playlist>
</smf:SMFPlayer>
 

I Know that SMFPlayer can stream this. It works with the standard SmoothStreamingPlayer.xap. If some one have the source code for that xap file that would be great.
 
Otherwise i could use some help to setup a SMFPlayer. I dont need to play the first two files. But the last file is imortant to work.
 
I'm also having some problem with the working player (that I cant modify, but i want to...) is that it dosn't work in some Linux and OS X.
 
Can some one please help me?
I can't find answer anywhere.
I should mention that this is my first attemt Silverlight application ever... Smile | :)
Tanks!
 
Btw here is the code that works (But with the standard player).
 
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
  <param name="source" value="http://streaming.educateports.com/SmoothStreamingPlayer.xap"/>
  <param name="onError" value="onSilverlightError" />
  <param name="background" value="black" />
  <param name="minRuntimeVersion" value="3.0.50401.0" />
  <param name="autoUpgrade" value="true" />
  <param name="InitParams" value="selectedcaptionstream=textstream_eng, mediaurl=http://streaming.educateports.com/livesmoothstream.isml/manifest, fakemode=false, background=#FF000000, autoload=1, autoplay=1, muted=False, stretchmode=0" />
  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0" style="text-decoration:none">
      <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
  </a>
</object>
Posted 12-Jun-12 14:58pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 15 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100