FLV視頻上傳到網上不能播放的原因與解決辦法

來源:互聯網
上載者:User

"在本地使用Flash媒體播放器可以播放的FLV視頻,傳到網上就不行了."

其實原因很簡單,因為國內大多都是Win2003的主機.預設是沒有指定輸出FLV這種格式的.

雖然FTP裡面可以看見,但無法通過http訪問,也就無法播放了.

兩種解決辦法:
1,找伺服器管理員,添加FLV檔案類型輸出支援.
2,把副檔名flv改成swf來播放.

3, 解決“虛擬機器主機都不支援Flv格式檔案”的問題:比如你的Flv檔案名稱是a.flv,在虛擬機器主機上建一個名為“a.flv”的目錄,在此目錄下放你的Flv格式檔案,將其改名為:index.htm,這樣就行了,播放器中的檔案名稱保持原樣不動,這樣就可以了.

以下是解決2003中的問題,在XP中同樣實用

Windows 2003 Server does not stream FLV videos

Please be aware that these steps do not resolve any issue with Macromedia Flash, but are a configuration step for Microsoft Windows 2003 and Microsoft IIS Server 6.0. Any difficulties in executing those instructions or any errors that may arise from modifying your system settings should be addressed to Microsoft. For more details, please refer to your IIS documentation.

1.On the Windows 2003 server, open the Internet Information Services Manager.
2.Expand the Local Computer Server.
3.Right-click the local computer server and select Properties.
select the MIME Types tab.
4.Click the New... button and enter the following information:
Associated Extension box: .FLV
MIME Type box: flv-application/octet-stream
5.Click Ok.
6.Restart the World Wide Web Publishing service.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.