<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<video id="my_video_1" class="video-js vjs-default-skin" controls
preload="auto" width="300" height="170" poster="../images/audi/audi_poster.png"
data-setup="{}">
<source src="../videos/audi/audi.mp4" type='video/mp4'>
<source src="../videos/audi/audi.ogg" type='video/ogg'>
<source src="../videos/audi/audi.webm" type='video/webm'>
</video>
</body>
</html>
對於上述代碼,該文件在Google Chrome上播放時沒有任何錯誤,但在Firefox和IE上播放時沒有任何錯誤。對於Firefox和IE,mp4文件不起作用
我不知道我錯在哪裏.. PLease幫助..我真的需要解決這個問題。 請求幫助
該網站在goddady服務器上運行。我沒有使用任何數據庫來存儲視頻文件,也沒有任何PHP編程..我只需將視頻上傳到服務器n的html文件中... 它是一個非常簡單的頁面,我希望所有視頻都能播放3瀏覽器..
什麼是您使用的** Mozilla Firefox **和** Internet Explorer **的版本?而且,它必須以'<!DOCTYPE html>'開始,而不是使用你正在使用的那個。 –