string

string
posts - 27, comments - 177, trackbacks - 0, articles - 0
  C++博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

Simple Javascript mplayer

Posted on 2012-02-27 08:48 djx_zh 阅读(590) 评论(0)  编辑 收藏 引用

<SCRIPT SRC="http://code.jquery.com/jquery-1.7.1.min.js" type="text/javascript"></script>
<SCRIPT SRC="http://files.cppblog.com/djxzh/mplayer.js.txt" type="text/javascript"></script> 
<LINK REL="stylesheet" TYPE="text/css" HREF="http://files.cppblog.com/djxzh/mplayer.css.txt"> 
<script type="text/javascript"> 
   var mb
=null;
   $().ready(function(){
        mb
=new Mplayer();
        mb.AddURL(
"http://218.4.193.98:82/sourcefile/0/0/22/22450.mp3""命运.mp3" );         
        mb.nextMusic();
    });
   CreateMplayer(); 
</script>

支持拖拽,可以将本地文件或超级链接或url拖拽到浏览器上。

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理