安装Windows2003 sp1后,发现自动安装了Mediaplayer 10,但是在网页里有些操作Mediaplayer 的脚本却不能运行。设置IE的安全性最低,并且设置Mediapalyer10允许网页中脚本运行后,一些脚本还是不能运行。
我出错的代码如下:
Windows 2003 SP1下 Mediaplayer 10提示没有权限的脚本错误if(aPlayer.currentPlaylist.count!=0)
}

后来发现应该是Mediaplayer10将权限级别提高了,可能需要完全的权限才能执行currentPlaylist.removeItem方法。
将代码改进如下后,IE出现请求权限对话框,问题解决。
Windows 2003 SP1下 Mediaplayer 10提示没有权限的脚本错误if(aPlayer.currentPlaylist.count!=0)
    }

     

相关文章:

  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-06-27
  • 2021-09-18
  • 2021-09-24
猜你喜欢
  • 2021-09-04
  • 2021-12-26
  • 2021-11-27
  • 2021-05-16
  • 2021-11-27
  • 2021-08-22
  • 2022-12-23
相关资源
相似解决方案