stratus.sc和IE [英] stratus.sc and IE

查看:178
本文介绍了stratus.sc和IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的问题...... Stratus播放器www.stratus.sc是否会得到Internet Explorer的支持?

Simple question... will the Stratus player www.stratus.sc ever be supported by Internet Explorer?

搜索高低分辨率,我的避风港找不到播放器与IE一起工作的网站?

Searched high and low for a resolution, and I haven't found one site where the player works with IE?

SoundCloud自己写信给我:

SoundCloud themselves wrote to me:


我们目前处于过渡状态,处理Stratus播放器。 Internet Explorer支持存在已知问题,但不幸的是,由于我们仍然在确定项目的未来,因此它们没有得到积极处理。

使用soundcloud标记在stackoverflow.com中发布此信息可以证明有助于从我们的社区获得反馈。

We're currently in a state of transition with how we handle the Stratus player. There are known issues with Internet Explorer support but unfortunately they aren't actively being worked on since we're still determining the future of the project.
Posting this in stackoverflow.com with a "soundcloud" tag could prove helpful in getting feedback from our community.

所以我问,有人认为它会得到支持吗?

So I ask, does anyone think it will be supported?

推荐答案

层云玩家尝试创建一个新的iframe,并在这个新文档中获取此JS文件:

The stratus player tries to create a new iframe, and inside this new document it fetches this JS file:

http://stratus.sc/js/player.js

在这个文件中有一些调用控制台对象的log方法,即console.log()
控制台对象没有在IE中定义,除非你有控制台本身打开,这意味着要打开IE开发人员工具。因此,当这些行在iframe的上下文中执行,并且开发人员工具未打开时,显然找不到未定义对象的log方法。这会阻止iframe上下文中的JS执行,这就是玩家没有出现的原因。

In this file there are some calls to the log method of the console object, i.e. console.log() The console object is not defined in IE unless you have the console itself open, that means to have the IE developer tools open. So when these lines are to be executed in the context of the iframe, and the developer tools are not open, the log method of an undefined object is obviously not found. That halts the JS execution in the iframe context, and that is why the player does not show up.

在另一个问题上有一个有趣的读物:

there is an interesting reading about this in this other question:

控制台发生了什么。登录IE8?

遗憾的是,如果你想让玩家在IE中工作,你身边几乎没什么可做的。让我们希望Stratus的人至少删除console.log()语句......

Sadly there is little to do from your side if you want to get the player working in IE. Let's hope the Stratus guys at least remove the console.log() statements...

这篇关于stratus.sc和IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆