我一直在寻找并尝试为 IE7 和 8 找到合适的视频后备。到目前为止,我还没有找到一个。最干净的代码(我想使用)粘贴在下面。它来自每个人的视频。
<!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" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/HTML; charset=utf-8" />
<title>video</title>
</head>
<body>
<video width="640" height="360" controls autoplay>
<source src="changePassword.MP4" type="video/mp4" />
<source src="changePassword.OGG" type="video/ogg" />
<object width="640" height="360" type="application/x-shockwave-flash" data="flowplayer.SWF">
<param name="movie" value="flowplayer.SWF" />
<param name="flashvars" value="autostart=true&controlbar=over&image=__POSTER__.JPG&file=__VIDEO__.MP4" />
<img src="__VIDEO__.JPG" width="640" height="360" alt="__TITLE__"
title="No video playback capabilities, please download the video below" />
</object>
</video>
<p> <strong>Download Video:</strong>
Closed Format: <a href="changePassword.MP4">"MP4"</a>
Open Format: <a href="changePassword.OGG">"Ogg"</a>
</p>
</body>
</html>
有人看到错误或可能的改进吗?谢谢!蒂斯