Motion - Support Question 2011x 11x 28x 113032

OSMF Player (Instead Combozola) Live Stream

Question

Hi,

I'm trying to use OSMF player (instead of combozola) to show a live stream on web page... but receive the message (player side) "stream not found". Someone have osmf player (or another web based player) working with motion?

Best regards, Eduardo Costa

Index.html


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
   <title>Live Video</title>
   
     <script type="text/javascript" src="scripts/swfobject.js"></script>
     <script type="text/javascript" src="scripts/ParsedQueryString.js"></script>
    <script type="text/javascript">
    
          // Collect query parameters in an object that we can
          // forward to SWFObject:
          
          var pqs = new ParsedQueryString();
          var parameterNames = pqs.params(false);
          var parameters =
             {   id: "1"
             ,   configuration: "assets/configuration.xml"
             ,   url: "http://localhost:6061/stream.flv"
             ,   backgroundColor: "0x000000"
             ,   autoHideControlBar: "true"
             ,   autoSwitchQuality: "true"
             ,   autoPlay: "false"
             ,   streamType: "live"
             };
          
          for (var i=0; i<parameterNames.length; i++)
          {
             var parameterName = parameterNames[i];
             parameters[parameterName]
                =   pqs.param(parameterName)
                ||   parameters[parameterName];
          }
          
          // Embed the player SWF:
          
          swfobject.embedSWF
            ( "OSMFPlayer.swf"
            , "player"
            , "640", "360"
            , "10.0.0"
            , {}
            , parameters
            , { allowFullScreen: "true" }
            , { name: "OSMFPlayer" }
            );
         
     </script>
</head>
<body>
   <div id="player"></div>
</body>
</html>

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  
-- EduardoCosta - 28 Nov 2011

Answer

Topic revision: r1 - 28 Nov 2011, EduardoCosta
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.