视频中的jwplayer错误

时间:2013-12-20 00:03:52

标签: php jwplayer

我的jwplayer出错了。我刚刚编写了一个简单的视频网站,每当我尝试查看它时都会出现错误

<html>
<head>
<title>FKTWTV!</title>
<link rel='stylesheet' href='style.css' />
<script src="jwplayer/swfobject.js"></script>
</head>
<body>
<?php
    include 'connect.php';
?>

<div id='box'>

<?php
    $video = $_GET['video'];
?>
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="100%" height="315">
        <param name="movie" value="jwplayer/player-licensed-viral.swf" />
        <param name="allowfullscreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="flashvars" value="file=video.mp4&image=preview.jpg" />
        <embed
            type="application/x-shockwave-flash"
            id="player2"
            name="player2"
            src="jwplayer/player-licensed-viral.swf" 
            width="100%" 
            height="400"
            allowscriptaccess="always" 
            allowfullscreen="true"
            flashvars="file=videos/<?php echo $video; ?>&image=jwplayer/preview.jpg" 
        />
    </object>
</div>
</body>
</html>

错误是“拒绝访问”或“未找到视频”。可能有什么不对?

0 个答案:

没有答案