2012-02-24 64 views
0

我使用jPlayer插件在网站上播放视频。它在除IE9以外的所有浏览器都能正常工作。有没有人知道强制IE9退出Flash解决方案而不是HTML5的方法?jPlayer无法在IE9中工作

谢谢。

+0

硒回答这里http://stackoverflow.com/questions/10786034/how -play-flv-files-using-jplayer/17323745#17323745 – 2013-06-26 20:13:57

回答

0

solution选项如何?

+0

另请参阅:http://stackoverflow.com/questions/6175417/jplayer-issue-in-ie9 – user1230307 2012-02-24 08:49:15

1

当我尝试在ASP.NET Web Forms项目中设置Jplayer时,我遇到了同样的问题。 我看到,当我在localhost上运行项目时,Flash PLayer不让我执行它。我需要在另一个IP上发布项目才能看到它正在运行。 我的代码是它:

<script type="text/javascript"> 
    $(document).ready(function() { 
     $("#jquery_jplayer_1").jPlayer({ 
      ready: function() { 
       $(this).jPlayer("setMedia", { 
        flv: "<%=Page.ResolveUrl("~/videos/myvideo.flv")%>" 
       }).jPlayer("play"); 
      }, 
      solution: "flash,html", 
      supplied: "flv", 
      swfPath: "<%=Page.ResolveUrl("~/Scripts/jquery_jplayer")%>", 
      size: { 
       width: "480px", 
       height: "270px" 
      } 
     }); 
    }); 
</script> 
0

不知道,如果你是在本地主机或不发展,而是作为OG巴西如上所述,如果您在您的家庭网络(即本地主机)的发展,闪存似乎并不在ie9上工作。

为了解决这个问题一个Windows7的电脑前往控制面板>>>系统和安全>>> Flash播放器 然后去先进。在开发人员工具下选择受信任位置设置 然后将路径添加到您的网站。在我的情况下,它是在WAMP文件夹下的硬盘Z,所以我说Z:\ WAMP

这个答案让我Flash and Localhost environment. No connection to the real web?

相关问题