没——问题

allow domain *

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

所以在此处添加跨域许可。
@@ -79,6 +79,8 @@ package @@ -79,6 +79,8 @@ package
79 79
80 this.stage.addEventListener(FullScreenEvent.FULL_SCREEN, this.user_on_stage_fullscreen); 80 this.stage.addEventListener(FullScreenEvent.FULL_SCREEN, this.user_on_stage_fullscreen);
81 81
  82 + Security.allowDomain("*");
  83 +
82 this.addChild(this.control_fs_mask); 84 this.addChild(this.control_fs_mask);
83 this.control_fs_mask.buttonMode = true; 85 this.control_fs_mask.buttonMode = true;
84 this.control_fs_mask.addEventListener(MouseEvent.CLICK, user_on_click_video); 86 this.control_fs_mask.addEventListener(MouseEvent.CLICK, user_on_click_video);
@@ -591,4 +593,4 @@ package @@ -591,4 +593,4 @@ package
591 ExternalInterface.call("console.log", msg); 593 ExternalInterface.call("console.log", msg);
592 } 594 }
593 } 595 }
594 -}  
  596 +}