我在winform中实现了,但在webform中该怎么做

解决方案 »

  1.   

    现在的那些流行播放列表不都是xml格式么?
      

  2.   

    我的程序先检查是否已经存在list播放列表,如果有就先删除,然后创建一个新的list播放列表 ,
    但这样只是删除了在媒体库里的,实际的文件list .wpl并没有删除,怎样才能把实际文件也一起删掉function create()
    {
    if( document.all.Player.settings.mediaAccessRights == "none" )
        {
            document.all.Player.settings.requestMediaAccessRights( "full" );
        }
    var plRet;
    var pl; plRet=document.all.Player.playlistCollection.getByName("list");
     
    if(plRet!=null)
    {
             var i=0;
    for(;i<plRet.count;i++)
    {
    document.all.Player.playlistCollection.remove(plRet.Item(i));
    }

    }
    pl=document.all.Player.playlistCollection.newplayList("list");
    pl.appendItem(document.all.Player.newMedia("http://localhost/music/11.mp3"));
    pl.appendItem(document.all.Player.newMedia("http://localhost/music/12.mp3"));
             document.all.Player.currentPlaylist = pl;
    }