Hi, I'm trying to use my MMS live stream with JW Player for Silverlight, but it is not working. bc.. <script type='text/javascript' src="silverlight.js"></script> <script type='text/javascript' src="wmvplayer.js"></script> <script type="text/javascript"> var cnt = document.getElementById("mediaspace"); var src = 'wmvplayer.xaml'; var cfg = { file:'mms://seef.tv/TV', image:'preview.jpg', height:'240', width:'440' }; var ply = new jeroenwijering.Player(cnt,src,cfg); </script>
I like to put video from http://www.uitzendinggemist.nl/ on my own web site.
They promise: 'it's easy. All you have to do is copy en paste embedded code in your page: <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="530" height="306"><param name="source" value="http://embed.player.omroep.nl/sle/ugslplayer.xap"/><param name="enablehtmlaccess" value="true"/><param name="initParams" value="episodeID=11662824,width=530,height=306,volume=100,viewMode=video,playMode=pause,playlistEnabled=yes" /><embed source="http://embed.player.omroep.nl/sle/ugslplayer.xap" type="application/x-silverlight-2" enablehtmlaccess="true" width="530" height="306" initParams="episodeID=11662824,width=530,height=306,volume=100,viewMode=video,playMode=pause,playlistEnabled=yes"><a href="http://go.microsoft.com/fwlink/?LinkID=124807" style="text-decoration: none;"><img src="http://embed.player.omroep.nl/sle/downloadsilverlight.jpg" alt="Get Microsoft Silverlight" style="border-style: none"/></a><br /><a href="http://player.omroep.nl?aflID=11662824">Of bekijk de flash versie.</a></embed></object>
I did not succed, so I want to try with JW player: <script type="text/javascript" src="media/silverlight.js"></script> <script type="text/javascript" src="media/wmvplayer.js"></script>
<div class="container"> <div class="content"> <h1>Instructions</h1> <div id="container"></div> <script type="text/javascript"> var cnt = document.getElementById("container"); var src = 'media/wmvplayer.xaml'; var cfg = {height:'320',width:'470',file:"http://player.omroep.nl?aflID=11662824"}; var ply = new jeroenwijering.Player(cnt,src,cfg); </script>
I was attempting this as well. The stream is hosted elsewhere, but I'm looking for a way to stream it using something other than Windows Media Player so it's more likely to work in other browsers (such as Firefox).
I just used VLC to see what codec the stream is using, and it's using WMA2... WMA2 isn't listed in the "Supported Formats" list. Could that be the problem?
But if I put in mms://entropiaradio.com/atlashaven it works perfectly in VLC, Windows Media Player, and Winamp.
I don't know for sure how it's set up on the entropiaradio.com server, but I know mms:// works while http:// does not. Presumably due to the MMS server working on a different port and being separate from the general HTTP server. Therefore a URL designed to work on the MMS server would be invalid when attempting to use it on the HTTP server.
Provided that MMS and HTTP protocols are different, and require different subsystems to handle them, I'm not surprised your link doesn't work. I would recommend trying it with mms:// in a standalone player, rather than the http:// as the protocol.
There can be *NO* other port. MMS and HTTP are two different protocols. The simple fact that you can use mms://entropiaradio.com/atlashaven in a *REAL* standalone player (WMP, VLC, etc) with*out* the port number proves that it's using the standard port: 1755.
I'm open to suggestions. However, MMS and HTTP are related but not necessarily compatible. There is no way it can use a non-standard port without *specifying* said port in the URL.
Now, is JW Player capable of playing an MMS stream or not? It doesn't appear to be. Unless (as I brought up earlier) the stream I am trying to play is in an unsupported format. Now if that's the case, let me know so I can try to fix it. If it's not, then there's obviously bugs in the applet.
The trouble with using Firebug is that it makes connections using HTTP. The applet is supposed to be supporting MMS.
Would it make a difference if I created a .asx playlist and put the MMS URL in that? Should I create a redirect to the MMS URL? Something must work. But nothing is as yet.
As for your given code, what is it you're trying to say? Am I supposed to try that? Am I supposed to modify it? I tried using it. Same result (as I'm sure you would be able to test on your own), except on my other system (also Windows 7) the applet doesn't show up at all. Your last code snippet worked less than the original.
Sorry if I sound snippy, but so far this has been little help.
The player (note it’s Silverlight 1!) does support the MMS protocol. I have seen working installations pointing directly to an MMS stream.
The WMA2 format can be the issue indeed. Can you easily try configuring your server for another format – e.g. WMA1? That should be a quick check to see if the format is the issue.
I am trying to stream live video from my WM Server. I want embed live stream in JW Player but it not working for me. Below is the code that I am using. Also, I am using Window Media Encoder to encode. Can you please help with this issue. The mms link works fine in Window Media player.
<div id="myplayer">the player will be placed here</div>
<script type="text/javascript"> var elm = document.getElementById("myplayer"); var src = '/wmvplayer.xaml'; var cfg = { file:'mms://bitcast.servegame.com/test', width:'320', height:'180' }; var ply = new jeroenwijering.Player(elm,src,cfg); </script> ---------------------------------------------------------------------
If it’s not picked up by the player, there’s not much we can do (like with above issues).
Have you tried the player that comes with the Silverlight Media Framework? That one is Silverlight4 instead of Silverlight1, and might be able to play the stream.