Re: [osflash] Period in pathUnfortunatley that didn't work.  Tried:

%26file=domainnamecom/htdocs/stream/terminator.flv%26streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo
- Gave no error.  But wouldn't run.
%26file=domainnamecom/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo
- Gave no error.  But wouldn't run.
&file=domainnamecom/htdocs/stream/terminator.flv%26streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo
- Gave error:   "0: Error#2048"

I have been told that the problem may be in:

http://red5.googlecode.com/svn/java/server/trunk/src/org/red5/server/stream/ProviderService.java

That this file is maybe counting periods?  I don't know how to read the code.  

Any one have any thoughts on that?

ANY help would be greatly appreciated!


  ----- Original Message ----- 
  From: Niels Wolf 
  To: Open Source Flash Mailing List ; John Grden 
  Sent: Thursday, March 12, 2009 5:33 AM
  Subject: Re: [osflash] Period in path


  You also might want to use %26 instead of "&". I had troubles with "&".


  On 3/11/09 6:07 PM, "John Grden" <[email protected]> wrote:


    shot it the dark, but did you try putting a "\" before that period?  

    On Wed, Mar 11, 2009 at 8:36 AM, glow <[email protected]> wrote:

      We are using the default Red5 installation trunk version with JW player.

      Just doing a test file to get player functioning properly.

      Here is the code that works in an index.html file: 

      <script type="text/javascript" src="/stream/swfobject.js"></script>

      <div id="player">This text will be replaced</div>

      <script type="text/javascript">
      var so = new SWFObject('/stream/player.swf','mpl','470','290','9');
      so.addParam('allowscriptaccess','always');
      so.addParam('allowfullscreen','true');
      
so.addParam('flashvars','&file=domainnamecom/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo');
      so.write('player');
      </script>


      But we need it to work using the following code:

      <script type="text/javascript" src="/stream/swfobject.js"></script>

      <div id="player">This text will be replaced</div>

      <script type="text/javascript">
      var so = new SWFObject('/stream/player.swf','mpl','470','290','9');
      so.addParam('allowscriptaccess','always');
      so.addParam('allowfullscreen','true');
      
so.addParam('flashvars','&file=domainname.com/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo'
 
<http://domainname.com/htdocs/stream/terminator.flv&streamer=rtmp://xxx.xxx.xxx.xxx:1935/oflaDemo%27>
 );
      so.write('player');
      </script>

      The only difference between the two is the period(.) in path 
domainname.com <http://domainname.com>  in the second example.

      The .flv file is in both locations. 

      Why won't it run with the period(.) in the path?

      Any suggestions?

      _______________________________________________
      osflash mailing list
      [email protected]
      http://osflash.org/mailman/listinfo/osflash_osflash.org






  Niels Wolf

  -- 
  Niels Wolf
  Director of Interactive Media

  MediaCatalyst
  Herengracht 182
  1016 BR Amsterdam 
  The Netherlands

  t. +31 (0) 20 626 2976
  f. +31 (0) 20 626 4026
  m. +31 (0) 634 658 783

  www.mediacatalyst.com



------------------------------------------------------------------------------


  _______________________________________________
  osflash mailing list
  [email protected]
  http://osflash.org/mailman/listinfo/osflash_osflash.org



------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG - www.avg.com 
  Version: 8.0.237 / Virus Database: 270.11.10/1995 - Release Date: 03/11/09 
08:28:00
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to