我现在要做音乐网站。我从别的地方弄到了播放器。可是不会编添加歌曲之类的,playlist也搞不懂。有开发过的帮忙谢谢
能留下你们的联系方式好么?

解决方案 »

  1.   

    我是用exobud 要做的插入在asp.net中 可是不知道怎么写清单和动态往清单里添加歌曲
      

  2.   

    正常情况下应该是调用系统自还的播放器,但考虑到代码的简洁性和对系统的最大兼容性,我使用了Google Reader提供的网页多媒体播放器,其实就一Flash文件,如果不想写额外代码,直接调用它view plaincopy to clipboardprint?
    <embed height="400px" width="300px" name="gPlayer" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=yourMp3Addr.mp3" type="application/x-shockwave-flash"/>  
    <embed height="400px" width="300px" name="gPlayer" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=yourMp3Addr.mp3" type="application/x-shockwave-flash"/> 其中yourMp3Addr.mp3为mp3的文件地址,但因为需要访问google的网站,考虑到性能与稳定性,所以我把swf文件直接下载到了本地放在了项目中,直接在项目中使用相对地址来访问它,最终使用的代码如下:
    view plaincopy to clipboardprint?
    document.write('<embed width="' + (mediaWidth || 400) + 'px" height="' + (mediaHeight || 27) + 'px" name="plugin" src="' + ctxPath + '/scripts/gPlayer.swf?audioUrl=' + mediaURL + '" type="application/x-shockwave-flash" />');  
    document.write('<embed width="' + (mediaWidth || 400) + 'px" height="' + (mediaHeight || 27) + 'px" name="plugin" src="' + ctxPath + '/scripts/gPlayer.swf?audioUrl=' + mediaURL + '" type="application/x-shockwave-flash" />'); 
      

  3.   

    http://blogs.msdn.com/bobfamiliar/archive/2007/10/12/silverlight-1-1-audio-player-deconstructed.aspx