【发布时间】:2011-05-21 03:08:12
【问题描述】:
所以,我只是在重建时尝试在这个客户网站上放置一个简单的 html5 视频播放器。 认为这将是一件直截了当的事情,但是当我在 FF 中检查它时,我看到的只是一个带有灰色“x”的暗盒。 我正在使用最新的 FireFox 3.6.12。 你可以自己看here。
这是我使用的代码 - 我认为它是有效的 html5 - 也许不是?
代码:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="reel2.css" type="text/css" media="screen" />
<title>Christopher Stewart - Theatrical and Commercial Reels</title>
</head>
<body>
<div class="main">
<div class="header">
<div class="back">
<img src="http://thechristopherstewart.com/REEL_files/ChrisStewart_Website.jpg" />
<span class="backbtn">——<a href="Home.html" target="_self">back</a></span>
</div>
<span class="page_title">Christopher Stewart: Video Reel</span>
<div class="theatrical">
<span class="title">Theatrical Reel</span><br><br>
<video width="640" height="480" preload controls>
<source src="reelvids/120610-reel.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
<source src="reelvids/120610-reel.webm" type='video/webm; codecs="vp8, vorbis"'>
<source src="reelvids/120610-reel.theora.ogv" type='video/ogg; codecs="theora, vorbis"'>
</video>
</div>
</div>
</div>
</body>
</html>
* 编辑 2010 年 12 月 6 日 - 下午 3:00 * 在提示视频似乎不在我调查的服务器上之后;视频在服务器上,但只有在浏览器中输入 ftp 时才能访问 - 否则会生成 404 错误。不知道为什么会这样 - 如果有人知道如何解决这个问题,请告诉我!
感谢大家的大力帮助!
【问题讨论】:
-
问题已通过按照 Matti Virkkunen 的建议配置 IIS 得到解决。
标签: debugging firefox html5-video