1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

allow domain *

在使用时,srs_player可能和所在页面部署在不同的域名下。

所以在此处添加跨域许可。
This commit is contained in:
没——问题 2015-09-17 12:09:29 +08:00
parent c548ab5019
commit e8680527c3

View file

@ -79,6 +79,8 @@ package
this.stage.addEventListener(FullScreenEvent.FULL_SCREEN, this.user_on_stage_fullscreen);
Security.allowDomain("*");
this.addChild(this.control_fs_mask);
this.control_fs_mask.buttonMode = true;
this.control_fs_mask.addEventListener(MouseEvent.CLICK, user_on_click_video);