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:
parent
c548ab5019
commit
e8680527c3
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue