Link to home
Start Free TrialLog in
Avatar of purmar
purmar

asked on

flash video not working on live server

Hi Guys,

I have a website and on my local machine the flash video I have on one of the pages works quite well. My local machine is runnig Apache.  Then I put the entire website on a server running IIS and the video is not showing up.  Have no idea what can be the problem.  The files are all there, the website structure is all the same, not linking problem, but video nowhere. Please look at http://www.celebrityresorts.com/careers/celebvide.html  where shoudl be only the file, or http://www.celebrityresorts.com/careers/index.php where it shoudl be in the white box.  If I open the file directly from the server via explorer, the video is still not showing up.  Any idea would be very apreciated.

Thanks

Purmar
Avatar of Dushan Silva
Dushan Silva
Flag of Australia image

Try with Relative paths other than Absolute paths, when you giving paths for the flv files and other stuff.

BR Dushan
make sure that you use an absolute URL to your video and not that to the document.  for example:

http://www.celebrityreports.com/careers/video.mpg should be embedded within your .fla file instead of the actual file location on your system.
Avatar of purmar
purmar

ASKER

This is the code for the flash file:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="250" height="166" id="FLVPlayer" style="1px solid black; padding: 3px">
  <param name="movie" value="FLVPlayer_Progressive.swf" />
  <param name="salign" value="lt" />
  <param name="quality" value="high" />
  <param name="scale" value="noscale" />
  <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=celbcareer11&autoPlay=false&autoRewind=false" />
  <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=celbcareer11&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="250" height="166" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
I undrstand that it is all embeded and I cannot (or don't know how) use absolute paths.
Okay. And check your refering vedio file location in the FLVPlayer_Progressive.fla(source) file also.

Avatar of purmar

ASKER

Dusane,

the file in HTML works just fine on my local machine, either directly (opened via explorer) or via browser (running Appache).  The same is not true on the live server running IIS.  I would think that it is IIS issue, but it is not running even when I directly open the file in explorer. Other flash files work well.

Tx

(czech?)
purmar.. can you provide us the location of the file in your .fla?
Avatar of purmar

ASKER

http://www.celebrityresorts.com/careers/celebritycareer2.flv

that is the location. it is all in the career folder. for some reason; however, the file is not coming up for download when I put this URL in browser. It does on my local machine. All the swf are fine and will come up if you ask for them (FLVPlayer_Progressive.swf).  For some reason the production (live) server will nto show the files, but the local one will.  ???????
"The page cannot be found "

the file doesn't exist on the server at that location
you need to upload that file to the server.
Avatar of purmar

ASKER

it does.  i put it there again in case it woudl be corrupted during first copy. it ithere.
Avatar of purmar

ASKER

in the same folder - careers
are you referencing this file in your .FLA? with that URL
Avatar of purmar

ASKER

i don't have fla file.  I created flv directly from mpg. encoded and created the code in dreamweaver. so my folder contains flv, skin.swf, flvplayer_progressive.swf.
Hi purmar,
I think this could be still path issue.
So then plaese check paths in dreamveaver for the flv file.

BR Dushan
when you created the SWF, you have the original timeline in FLA...where's that file.
Avatar of purmar

ASKER

I am really puzzled here.  I can see the file if I remote desktop to our PC and open it in browser via c:/site_path/file
I can see it on my machine via http:... or c:/
I cannot see it on live site celebrityresorts.com
I cannot see it via \\server\site+path
Dont understand...
Avatar of purmar

ASKER

no. it is flash video. there has never been FLA file. There is FLVPlayer_progressive.swf that calls the FLV (flash video) file. There is Clear_skin_2.swf file as well that controls the movie and offers navigation.

Again, it works on the server when I remote desktop c:/.... it works on my machine. it does not work live via http: or via //server.
Avatar of Aneesh Chopra
Only Problem is:

some how,
flv is not accessible on your server.

you can simply check that the path you have given, even if I click on it, it does not get downloaded....
problem is with your server..

Rgds
Aneesh
"no. it is flash video. there has never been FLA file. There is FLVPlayer_progressive.swf that calls the FLV (flash video) file. There is Clear_skin_2.swf file as well that controls the movie and offers navigation."

This goes back to relative to document versus relative to site.  Go back to your source Flash file (.FLA) and take a look at the properties of the video clip (.flv) that you are using.  Change the location to be absolute.
Avatar of purmar

ASKER

OK.  I foudn out.  The server had to have FLV mime added to IIS in order for it to recognize the file.  One that has been done, it works fine.

I would like to say again, that there is no FLV file as the video file (MPG) was encoded directly to FLV and added with Dreamweaver plug-in.  Therefore no FLA was ever involved in the process...

I would like get refund for this question as none of the answers were close to the solution.

Thanks

purmar
Hi purmar,

You want your point back that is fine, but don't say no one was close to the answer..

see my comment, I have clearly said the problem was with the server....
---------
Comment from aneeshchopra
Date: 03/25/2006 04:39AM PST
---------

Avatar of purmar

ASKER

you are right.  you said that the problem is with the server. I stated that it plays on my machine, but not on the server, so there had to be problem on the server somewhere.  You were right, the problem was on the server, not with the path as many sugested.  I guess I would give the points to anyone who would mention the word MIME or any kind of "push" to the right direction, but that was not the case, however.

thank you

purmar
Now you said that at least ,I was right
I never suggest any path, I just commented to confirm that the problem is in server part.

anyway... keep you point..

Rgds
Aneesh
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial