<script src="js/jquery.flash.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$(‘#myplayer‘).flash({
‘src‘: ‘
![bubuko.com,布布扣](file:///C:\Users\beth\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png)
http://www.gdd.ro/gdd/flvplayer/gddflvplayer.swf‘, //这个是播放器的地址,不用管
‘width‘: ‘250‘, //宽度
‘height‘: ‘206‘, //高度
‘allowfullscreen‘: ‘true‘,
‘allowscriptaccess‘: ‘always‘,
‘wmode‘: ‘transparent‘,
‘flashvars‘: {
‘vdo‘: ‘
![bubuko.com,布布扣](file:///C:\Users\beth\AppData\Local\Temp\%W@GJ$ACOF(TYDYECOKVDYB.png)
http://10.212.164.157:1111/<%=videoHref %>‘, //这个是播放文件的地址,支持flv和mp4和swf格式
‘sound‘: ‘50‘,
‘splashscreen‘: ‘‘, //这个是视频播放器的图片地址,可以为空
‘autoplay‘: ‘true‘,
‘clickTAG‘: ‘‘,
‘endclipaction‘: ‘‘//这个是视频播放完触发的时间也可以为空
}
});
});
</script>