video not found or access denied

PrateekSaluja picture PrateekSaluja · Jul 29, 2010 · Viewed 11.9k times · Source

I have made a website in ASP.NET 3.5 With C#.In the default page we have a swf player.We have one video file.The file format is .mp4.

The Code is here:-

type="application/x-shockwave-flash"

id="player2"

name="player2"

src="images/player.swf"

width="350"

height="280"

allowscriptaccess="always"

allowfullscreen="true"

flashvars="file=../images/vtwsub.mp4"

/>

The problem is that when i try to run this code on my local it runs but when i put the same code in clients Windows 7 server it says "video not found or access denied: ../images/vtwsub.mp4.

I have provided the full access of WWWROOT folder in the server but problem remains constant.I need to fix this issue very soon.I have tried to find some answer in google but not getting the exact ans.If anyone has any idea, please reply me. Thanks in advance.

Answer

PrateekSaluja picture PrateekSaluja · May 11, 2011

I figure it out.In my case server issue was there.In this type of case you should check following things:-

1)video is properly placed in the right place.

2)Any name issue.(like misspell)

3)Check server permission.(some server will not allow to access those file.suppose you file is in mp4 format or anything else so try to convert in .swf & then try to access.)

I really hope it will help you

Thanks.......