video not found - path problem?
We have some HTML pages that embed a swf file to stream flv videos. The video doesn't play and I firstly thought it was the video player's version problem. But it seems more to be related to the path now.
The video is located at /opt/adobe/fms/applications/sites/media/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv.
Case 1:
<embed src='swfs/StrobeMediaPlayback.swf' ... flashva
rs='&src=rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8&autoHideControlBar=false&strea
mType=recorded&autoPlay=true' type='application/x-shockwave-flash'>
can successfully play the video; and I saw an entry in the access log like this:
play stream 2011-01-27 13:21:44 EST nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8 10.1.100.53 23327 0 2 _defaultRoot_ _defaultVHost_ sites _definst_ 0 200 130.14.160.29 rtmp - rtmp://130.14.16.21:1935/sites rtmp://130.14.16.21:1935/sites - http://medulla.nlm.nih.gov/video/swfs/StrobeMediaPlayback.swf WIN 10,1,102,64 4702111234693087599 3205 3450 normal nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8 - - rtmp://130.14.16.21:1935/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv rtmp://130.14.16.21:1935/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv /opt/adobe/fms/applications/sites/media/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv flv 11319545 279.265991 0 - 0 0 - - - - 1 - - - - - - - - http://medulla.nlm.nih.gov/video/testFMS.html -1 -1.000000 -
Case 2:
<embed id="video" name="video" src="/video/nlmVideoPlayer.swf" .... flashva
rs="playerLogo=/video/SeniorHealthLogo.swf&colorTheme=0x513484&flvPath=rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdi
sease/symptomsanddiagnosis/video/&hi8=a5.hi8&lo8=a5.lo8&hi7=a5.hi7&lo7=a5.lo7&captionUrl=a5.xml">
fails to load the video, and I got an entry in the access log with a 404 error as follows:
play stream 2011-01-27 13:22:05 EST a5.hi8 10.1.100.53 23327 0 2 _defaultRoot_ _defaultVHost_ sites nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video 0 404 130.14.160.29 rtmp - rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video - http://medulla.nlm.nih.gov/video/nlmVideoPlayer.swf WIN 10,1,102,64 4702111234726642031 3256 52698 normal a5.hi8 - - rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv rtmp://130.14.16.21/sites/nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video/a5.hi8.flv - flv 0 0.000000 0 - 0 0 - - - - 1 - - - - - - - - http://medulla.nlm.nih.gov/video/nihsh_ip.html -1 -1.000000
So it looks like the server cannot find the video in case 2. The log indicates that, the first case loads the default instance of application "sites" and navigates to path nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video; and the second case looks for the instance nihseniorhealth/alzheimersdisease/symptomsanddiagnosis/video of application "sites". For both cases, the rtmp://.... path seem to be exactly the same. Why is the second case not working?
If I copy the video to /opt/adobe/fms/applications/sites/media, the second case can successfully play the video (without captioning). So I am wondering what shall I do to make the second case work without copying the video to /opt/adobe/fms/applications/sites/media? like changing the configuration file or something?
Any suggestion would be greatly appreciated!
