我现在要做音乐网站。我从别的地方弄到了播放器。可是不会编添加歌曲之类的,playlist也搞不懂。有开发过的帮忙谢谢
能留下你们的联系方式好么?
能留下你们的联系方式好么?
解决方案 »
- jquery制作web桌面
- 请问如何获取元素背景路径?
- WEB开发大版终于排名挤到100,散分
- jquery使DIV处于最上层
- 当点击一个超链接的时候,如何获取其在页面中的坐标?
- 用javascript怎么实现两个<a>标记的class属性值互换。
- file属性可否有默认值?
- window.open()和window.showModalDialog()的子窗口向父窗口中传值,该怎么做?高手帮帮小弟弟……
- 如何用javascript实现窗口,在线求助
- 如何修改访问的一个网址的内部链接的HTTP头信息
- 这种flash好做吗 用什么工具制作
- 求助怎么样用javascript或asp取得主机的硬盘和内存的信息?
<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" />');