Skip to main content
Participant
December 29, 2008
Question

Server working, embedded stream in HTML not...

  • December 29, 2008
  • 3 replies
  • 979 views
Folks,

I can't (yet) offer publicly available links to this stuff, but I've a general question to insure I'm not missing anything.

FMS Development is working fine. The example VOD app works fine, both on the Flash Streaming server and deployed to a web server.

However, if I use DW CS3 to try and create an embedded video from a stream on the server (tried both MP4 and FLV extensions) it fails: no error, just no video. Code for progressive downloads work fine when I use the Dreamweaver method, but streams do not.

I'm following the instructions from Adobe's site, but it still doesn't work. I can't stream the sample videos or custom videos via code created by Dreamweaver.

Am I missing something?
    This topic has been closed for replies.

    3 replies

    Participant
    January 15, 2009
    January 10, 2009
    I have no idea at this stage how this server works, but I have 26 years in the IT industry in programming etc.

    Now if you rename legend.flv to say oldlegend.flv and then copy / rename the file you want to stream to legend.flv does the new file work.

    I suppose what I am trying to prove here is that file you think you are running is in the exact same place you are making the call to.

    Alan

    TedlickAuthor
    Participant
    December 30, 2008
    Below is the code generated by Adobe Dreamweaver CS3. I hope to have the server open to the world to get assistance with this soon, but hoped seeing the code would help. Tomorrow, I'm on to try out Wowza...

    <body onLoad="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"><script type="text/javascript">
    AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','320','height','180','id','FLVPlayer','src','FLVPlayer_Streaming','flashvars','&MM_ComponentVersion=1&serverName=jaxbhflasht01.jax.org&skinName=Clear_Skin_1&appName=vod/media&streamName=sample.flv&isLive=false&bufferTime=0&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Streaming' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="180" id="FLVPlayer">
    <param name="movie" value="FLVPlayer_Streaming.swf" />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars" value="&MM_ComponentVersion=1&serverName=jaxbhflasht01.jax.org&skinName=Clear_Skin_1&appName=vod/media&streamName=sample.flv&isLive=false&bufferTime=0&autoPlay=false&autoRewind=false" />
    <embed src="FLVPlayer_Streaming.swf" flashvars="&MM_ComponentVersion=1&serverName=jaxbhflasht01.jax.org&skinName=Clear_Skin_1&appName=vod/media&streamName=sample.flv&isLive=false&bufferTime=0&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="320" height="180" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object></noscript>
    Participating Frequently
    December 31, 2008
    I think you might be having problems with the "VOD" application.
    Firstly, what version of FMS are you running?
    I'm personally not happy with all the issues surrounding the "getting started out of the box", but if you check the readme.txt in there it states that a streaming server only runs "signed" applications.

    Otherwise for the most basic of quick starts try this:
    1. Look at the fms.ini file to see where your application directory is (VHOST.APPSDIR = C:\myapps)
    2. Create the following directory structure like this "C:\myapps\testapp\streams\_definst_"
    3. Put your flvs/mp4s in the _definst_ folder.
    4. Test your streams
    - FLV stream: rtmp://localhost/testapp/yourFLVStream
    - f4v/mp4 stream: rtmp://localhost/testapp/mp4:yourMP4Stream.mp4 or mp4:yourF4VStream.f4v
    5. Look at the fms/logs to see about any issues.
    TedlickAuthor
    Participant
    January 2, 2009
    Thanks Much.

    I've followed all instructions that you've given and in the readme, and in my new folder I've placed all the MP4 and FLV files I've been working with. (E:\Program Files\Adobe\applications\jax\_definst_). I've copied everything form the samples directory as advised. I've even attempted creating a new area in the INI file and defining that in applications.xml.

    Nothing makes any difference.

    Just as before, there is ONLY one FLV file I can get to stream: "legend.flv".

    NONE of the other sample files, etc... are working. I can view them through the sample app (vodtest.html), but they will NOT stream to another system (except the ONE pointed out above).

    I've looked at the logs, and frankly, they tell me nothing.

    I have to admit: this is nuts. I'm off to try Wowza until someone, anyone, can explain to me why only that one file will play, and help me get to the bottom of why the others won't.