-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IE8+ 使用 Flash 兼容。 #66
Conversation
麻烦宁姐 @sunng87 review 下。 |
<script type="text/javascript" src="../../plugin/web-socket-js/swfobject.js"></script> | ||
<script type="text/javascript" src="../../plugin/web-socket-js/web_socket.js"></script> | ||
<script type="text/javascript"> | ||
// Let the library know where WebSocketMain.swf is: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文注释
已经修改,看下。 |
auth: options.auth | ||
auth: options.auth, | ||
// 通过判断插件需要加载的 falsh 路径判断是否要关掉安全连接,在需要兼容 flash 的时候需要关掉,默认开启。 | ||
secure: win.WEB_SOCKET_SWF_LOCATION ? false : true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
拿这个属性判断会有点问题,因为这个属性是无论如何都会声明的,具体用不用取决于 web_socket.js 里 8-16行的判断
所以需要用一个 web_socket.js 里 16 行之后产生的数据来判断。
这次应该可以了。 |
修改好了。 |
👍 |
No description provided.