[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] About cygnal
From: |
Rob Savoye |
Subject: |
Re: [Gnash-dev] About cygnal |
Date: |
Sun, 14 Oct 2007 15:06:02 -0600 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070719) |
Pablo Guerra Santiago wrote:
> Where do I have to store swf files? Which are the files to config
> cygnal server? What arguments do I have to add to cygnal command to
> run it? and the last,
The current default is /var/www.
> What IP and port is it necessary to watch for example an swf file
> since the browser?
By default, cygnal waits on port 80 for an incoming HTTP request and
on port 1935 for an RTMP request. I use this chunk of code in my web
pages to have content that starts playing automatically. For testing,
you can use the "-p" option to cygnal, which is an offset used for the
port number. So I usually push it up via "-p 4000", so it doesn't
conflict with my existing web server.
<div style="border:1px solid
silver;margin:auto;width:525px;background-color:#858585;">
<p><center><object></p>
<param name="movie"
value="http://localhost/software/gnash/tests/flvplayer.swf?file=http://localhost/software/gnash/tests/1153948634.flv"
/>
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed
src="http://localhost/software/gnash/tests/flvplayer.swf?file=http://localhost/software/gnash/tests/1153948634.flv"
quality="high" wmode="transparent" width="240" height="190"
type="application/x-shockwave-flash"
pluginspage="http://www.gnu.org/software/gnash" /><br
/></object></center></div>
</div>
- rob -