它实际上适用于 Chrome 和 Safari,但是 ie8 和 firefox 无法识别该$video
变量。是否有不同的语法使它们更有可能与这些浏览器一起使用。
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("myFlashContent", "9.0.0");
</script>
</head>
<?php $video="monday.mp4"; ?>
<body>
<div>
<object width="600" height="409">
<param name="movie"value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf">
</param>
<param name="flashvars" value="src=http%3A%2F%2F81.107.65.42%2Fmonday.mp4"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess"
value="always"></param>
<embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true"
width="600" height="409" flashvars="src=http%3A%2F%2Fmydomain%2F"
<?php $video; ?></embed></object>
</div>
</body>
</html>