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... :)
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>