就是写一个播放器在网页上发布的,有后台的播放器控件,可以用wmp.dll控件实现功能是可以定时实现wmp的切换播放比如:wmp1放电影的时候,wmp2在我设置的时间内,很吻合的复盖掉wmp1播放的电影,wmp2播放结束后,继续wmp1的播放。定时的功能能否用timer类实现? 还有无缝结合不知道如何实现,求教

解决方案 »

  1.   

    定时的功能可以用timer类实现,别的不知。
      

  2.   

    up 怎么用java在servlet里控制wmp.dll控件的行为呢?
      

  3.   

    js:
    templocation=player1.location;
    player1.stop();
    player1.url="movie2";
    costtime=player1.length;
    player1.open();
    setTimeout("fun2",costtime);function fun2(){
      player1.stop();
      player1.url="movie1";
      player1.location=templocation;
      player1.open();
    }
      

  4.   

    to dreamover:
    thx
    能对你给的js代码做个简单的注释吗?
      

  5.   

    to dreamover:另外能否给出html或jsp里调用fun2()函数的简单例子?我调用时也出了点问题,网页有错误T.T