Skip to main content
Participant
October 17, 2008
Question

FMS3 on Windows Server 3 problems

  • October 17, 2008
  • 1 reply
  • 817 views
I'm a web designer that has volunteered to get FMS3 up and running on our server. I installed FMS3 locally using the following tutorial ( http://www.adobe.com/devnet/flashmediaserver/articles/beginner_vod_fm3.html) and everything worked just fine. I then installed FMS3 on our server and made a test site to try to get the video to play. No dice. I'm using Javascript to connect to the .flv file. Here's the code I'm using:

<script type="text/javascript">
var so = new SWFObject('flash/mediaplayer.swf','mpl','640','500','7');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addVariable('file','rtmp:// serverIP/vod/AdobeBand_640.flv');
so.addVariable('width','640');
so.addVariable('height','500');
so.addVariable('image','images/placeholder_image.jpg');
so.addVariable('frontcolor','0x222222');
so.addVariable('backcolor','0xEBEBEB');
so.addVariable('lightcolor','0xA0410D');
so.addVariable('showdigits','true');
so.addVariable('showvolume','true');
so.addVariable('volume','100');
so.addVariable('autostart','false');
so.write('video');
</script>


When I try to play the stream nothing happens. I made sure that the MIME Types .flv files are flv-application/octet-stream. Any push in the right direction would be greatly appreciated. Thanks!
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    October 20, 2008
    Are you able to see a connection logged in the FMS access.00.log file?
    Participant
    October 21, 2008
    It doesn't look like it. There is some text in the log but it looks like it didn't log any connections.

    I modified my code a little bit and now I'm getting a black screen where the video should be with the player below it. However, when I click play the button disappears and nothing happens. Here's what I have now:

    <div id='preview'>This div will be replaced</div>

    <script type='text/javascript'>
    var s1 = new SWFObject('flash/mediaplayer.swf','ply','470','320','9','#ffffff');
    s1.addParam('allowfullscreen','true');
    s1.addParam('allowscriptaccess','always');
    s1.addParam('wmode','opaque');
    s1.addVariable('file', ' nameofvideo.flv');
    s1.addVariable('streamer', 'rtmp:// nameofserver/vod');
    s1.addVariable('type', 'video');
    s1.write('preview');
    </script>
    Participating Frequently
    October 22, 2008
    If you don't see a connection logged you should check to see what ports are open. connecting with the rtmp protocol means you are trying to defaultly connect to port 1935 on the server (this can be changed if you specify an alternative port that FMS is listening on and then append the port in the connection string.. eg: rtmp://serverName:4567/app_foo/) An easy test to see if this port is blocked or not is to issue the following command "telnet yourServerName 1935".