Skip to main content
Known Participant
November 29, 2006
Question

contentpath ???????????????????????????????????????????????????????????????????

  • November 29, 2006
  • 4 replies
  • 624 views
i have a new windows server dedicated to flash server 2.0

do any of the experts know what the EXACT path that would be placed in the contentpath field to be able to stream a video?

so far with a test, i have only been able to view a AVESQ14swf and test.html file ONLY on the server by installing flash 8 on the server and by using the contentpath of:

C:\Program Files\Macromedia\Flash Media Server 2\application\video\streams\_definst_\AVESQ14.flv

from a web browser on my local machine the test.html and AVESQ14.swf will not load and I realize this because the contentpath is not correct, and should be something as:

rtmp://66.235.194.204/video/streams/_definst_/AVSEQ14.flv

the problem is i have tried every possible combination known to man, rtmp:/ with one slash, two slashes, localhost, ip address, path this and path that for three days and can not get the swf or html to load locally on my machine at home.

to test, i have uploaded a different .swf file (progressive download config) that was placed on the webserver just to make sure this new windows server and was able to view it in flash player, therefore this windows webserver is able to deliver .swf files and the problem must be the contentpath.

and suggestions appreciated, what this EXACT setting should be, or if i'm missing something

Help, i'm going bonkers !!
    This topic has been closed for replies.

    4 replies

    barfineAuthor
    Known Participant
    December 3, 2006
    ok, what i did was load flash 8 on the webserver, then created a new file and imported a .flv file

    the contentPath i used is:
    rtmp://66.235.194.204/video/bkkmotorshow.flv

    then WITHOUT adding any of the above actionscript code (above) i then published it.

    now it plays in an html page

    http://66.235.194.204/test/show1.html

    ??????????? why this would not work with the exact same settings from my home computer with flash 8 also is beyond me ???

    so it is streaming in an html page with skin.

    so i am almost there, what i really need is to be able to take the .swf that was created and put it into an invision forum post, that was successful and it streams there also. one problem is the skin does not show up.

    the skin file is in the webserver directory and does play on the html page.

    a strange thing is also, to just open up the flash 8 player and put the URL

    http://66.235.194.204/test/show1.swf

    it won't play, something related to the skin?
    however, i take that same URL path to the .swf inside an invision forum post it will play but without the skin (and i do need a skin to control it)

    so it looks like i may need some actionscript code to have the skin settings to ride along in the .swf when running solo?

    flvplayerskin = "SteelExternalAll.swf" ??

    thanks for any suggestions and help, i'm getting close now.
    December 2, 2006
    so you connect to application "video" and instance "_definst_" using something like this:

    my_nc.connect("rtmp://www.myserver.com/video/_definst_");

    If you're not then you aren'nt connecting to the "video" application and you aren't connection to the instance named "_definst_".

    I'd suggest to connect to an instance with a better name like "test" or "demo" or "barfine" so you really know where you should look on your server.

    Also keep the FMS console (swf) running so you know it your application is running/loaded and if someone is connecting to it and what the log shows.

    Maybe you should quote the code inside the FLA so we know where the FLA/swf is trying to connect to.
    December 1, 2006
    1. the path is relative to the root of the instance you are connected to
    2. if you have a virtual directory named video on your FMS server make sure the FLV is in there
    3. try without the .flv at the end
    barfineAuthor
    Known Participant
    December 2, 2006
    i just can not get it to work.

    have tried the following in the contentPath field:

    rtmp://66.235.194.204/video/streams/_definst_/AVSEQ14.flv
    rtmp://66.235.194.204/video/streams/_definst_/AVSEQ14
    rtmp://66.235.194.204/video/streams/_definst_/
    rtmp://66.235.194.204/video/streams/
    rtmp://66.235.194.204/video/

    the AVSEQ14.flv file is located here:
    rtmp://66.235.194.204/video/streams/_definst_/AVSEQ14.flv

    the AVSEQ14.swf is in the web access folder

    what EXACTLY should be placed in the contentPath field within flash 8 of the AVSEQ14.fla
    nothing works

    thanks for any help on this
    Participating Frequently
    November 29, 2006
    I think I am having the same problem. I worked a couple of tutorials verbatim and I have nothing to show for it. I readily admit that it is something I am doing wrong, but based on the install documentation I am not sure what it is exactly. Like you, the only thing we need to do is stream video/audio. I have 2.0 updated to 2.3 on a test XP box (before I do anything production) and apache installed as well.