FLV视频上传到网上不能播放的原因与解决办法
FLV视频上传到网上不能播放的原因与解决办法
发布时间:2016-12-28 来源:查字典编辑
摘要:"在本地使用Flash媒体播放器可以播放的FLV视频,传到网上就不行了."其实原因很简单,因为国内大多都是Win2003的主机.默认是没有指...

"在本地使用Flash媒体播放器可以播放的FLV视频,传到网上就不行了."

其实原因很简单,因为国内大多都是Win2003的主机.默认是没有指定输出FLV这种格式的.

虽然FTP里面可以看见,但无法通过http访问,也就无法播放了.

两种解决办法:

1,找服务器管理员,添加FLV文件类型输出支持.

2,把扩展名flv改成swf来播放.

3,解决“虚拟主机都不支持Flv格式文件”的问题:比如你的Flv文件名称是a.flv,在虚拟主机上建一个名为“a.flv”的目录,在此目录下放你的Flv格式文件,将其改名为:index.htm,这样就行了,播放器中的文件名保持原样不动,这样就可以了.

以下是解决2003中的问题,在XP中同样实用

Windows2003ServerdoesnotstreamFLVvideos

PleasebeawarethatthesestepsdonotresolveanyissuewithMacromediaFlash,butareaconfigurationstepforMicrosoftWindows2003andMicrosoftIISServer6.0.AnydifficultiesinexecutingthoseinstructionsoranyerrorsthatmayarisefrommodifyingyoursystemsettingsshouldbeaddressedtoMicrosoft.Formoredetails,pleaserefertoyourIISdocumentation.

1.OntheWindows2003server,opentheInternetInformationServicesManager.

2.ExpandtheLocalComputerServer.

3.Right-clickthelocalcomputerserverandselectProperties.

selecttheMIMETypestab.

4.ClicktheNew...buttonandenterthefollowinginformation:

AssociatedExtensionbox:.FLV

MIMETypebox:flv-application/octet-stream

5.ClickOk.

6.RestarttheWorldWideWebPublishingservice.

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新Flash教程学习
热门Flash教程学习
网页设计子分类