0
我有一個html <video>
標籤,.ogg
,.mp4
和.webm
視頻類型。我還編輯了.htaccess
和相應的AddFile
類型。我的視頻應該在後臺播放。在Chrome中,IE和Opera可以正常工作,但在Firefox中不行。這裏是我的代碼:HTML視頻不會在Firefox中播放
<div class = "bgvid">
<video autoplay loop preload = "metadata" poster="images/pathos-lounge-restaurant.jpg" id="bgvid">
<source src="media/Luxurios-Pathos-Sunset-Bar-Restaurant.mp4" type="video/mp4">
<source src="media/Luxurios-Pathos-Sunset-Bar-Restaurant.webm" type="video/webm">
<source src="media/Luxurios-Pathos-Sunset-Bar-Restaurant.ogv" type="video/ogg">
</video>
</div>
這裏是我的網頁:http://freebeachbar.gr/pathos/
我在控制檯中看到 - >無法加載資源:服務器響應狀態爲403(禁止) – Ecropolis 2015-02-05 16:20:23