重复不适用于JW Player

时间:2012-02-26 11:54:03

标签: php jwplayer

我正在尝试重复数据库中的所有视频以便在框中播放。所以,如果我有2个视频,我想有2个盒子,但由于一些奇怪的原因我做的功能不起作用!一旦没有做功能我总是可以播放第一个文件格式DB但是一旦应用了,我总是可以支付最后一个?请参阅下面的代码。我正在起诉JW Player来传播

<?php do { ?>
<div id="container">Loading the player ...</div>

<script type="text/javascript">
jwplayer("container").setup({
height: 270,
width: 480,
image: "http://xxxxxxxxxx.com/images/thumbnail.jpg",
modes: [
{ type: "flash",
src: "player.swf",
config: {
file: "<?php echo $row_myrecordedvideos['streamName']; ?>.flv",
streamer: "rtmp://xxxxxxxxxxx.co.uk/hdfvr/_definst_",
provider: "rtmp"
}
},
]
});
</script><?php } while ($row_myrecordedvideos = mysql_fetch_assoc($myrecordedvideos)); ?>

0 个答案:

没有答案