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.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我弄清楚了。就我而言,服务器存在问题。在这种情况下,您应该检查以下事项:-
1)视频是否正确放置在正确的位置。
2)任何名称问题。(如拼写错误)
3)检查服务器权限。(某些服务器不允许访问这些文件。假设您的文件是 mp4 格式或其他格式,所以尝试转换为 .swf 并尝试访问.)
我真的希望它能帮助你
谢谢......
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.......
如果你还没有解决你的问题,这里是解决方案,
不要将“player.swf”文件放在任何子目录下,尝试将其放在index.asp或index.php所在的根目录中。
你的结构:
src="images/player.swf"
我的:
src =“player.swf”
问候,
穆扎法尔·阿里
if you have not solve your problem yet here is the solution,
don't put "player.swf" file under any sub directory try putting it in the root directory where your index.asp or index.php existed.
your structure:
src="images/player.swf"
Mine:
src="player.swf"
Regards,
Muzafar Ali
这听起来可能是路径问题。我会使用 Firebug 或类似的东西进行调试以查看 http 流量。在那里,您可能会看到视频出现 404,在这种情况下,它很可能指向错误的位置(即从正确位置向上或向下一个目录)
This sounds like it could be a path issue. I would debug using Firebug or something similar to view the http traffic. There you might see a 404 occuring for the video, in which case it is most likely pointing in the wrong place (i.e. up or down one directory from the correct place)