jwpalyer网页播放器的使用
<script type="text/javascript" src="swfobject.js"></script>
2,在head中添加脚本
<script type="text/javascript"> var s1 = new SWFObject("flvplayer.swf","single","300","170","7"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","video.flv"); s1.addVariable("image","preview.jpg"); s1.addVariable("width","300"); s1.addVariable("height","170"); s1.write("player1");
</script>
3,在body中添加dev
<div id="player1"></div>
参考:http://blog.csdn.net/joeyon1985/article/details/39964335
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。