Skip to content
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

请问 var loader 要在什么位置添加? #11

Closed
GoogleCodeExporter opened this issue Aug 16, 2015 · 3 comments
Closed

请问 var loader 要在什么位置添加? #11

GoogleCodeExporter opened this issue Aug 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

引用主页FAQ:

"优酷播放结束后报 数据加载失败 的错误
 这是由cookie的跨域问题造成的,可以使用如下方法解决:
 在 hosts 文件中写入 127.0.0.1 local.youku.com
 将 var loader = 'http://127.0.0.1:8008/loader.swf';
 改为 var loader = 'http://local.youku.com:8008/loader.swf';
"

但是在源码中找不到var loader这一行?
还是直接添加在什么位置?

Original issue reported on code.google.com by captainr...@gmail.com on 1 Sep 2013 at 3:05

@GoogleCodeExporter
Copy link
Author

现在播放器地址设置在第28行

Original comment by ch05042...@gmail.com on 3 Sep 2013 at 1:26

@GoogleCodeExporter
Copy link
Author

Original comment by ch05042...@gmail.com on 7 Sep 2013 at 8:55

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

"
27            if(!this._players) {
28                this._players = {
29                    'youku': 
'https://haoutil.googlecode.com/svn/trunk/youku/loader.swf',
30                    'ku6': 
'https://haoutil.googlecode.com/svn/trunk/player/ku6.swf',
31                    'iqiyi': 
'https://haoutil.googlecode.com/svn/trunk/player/iqiyi.swf',
"
改成下面这样?
"
27            if(!this._players) {
28                this._players = {
29                     var loader = 'http://local.youku.com:8008/loader.swf'
30                    'youku': 
'https://haoutil.googlecode.com/svn/trunk/youku/loader.swf',
31                    'ku6': 
'https://haoutil.googlecode.com/svn/trunk/player/ku6.swf',
32                    'iqiyi': 
'https://haoutil.googlecode.com/svn/trunk/player/iqiyi.swf',
"
不行啊...

Original comment by captainr...@gmail.com on 8 Sep 2013 at 12:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant