1 Reply Latest reply on Jun 21, 2011 8:06 PM by bulukutuk

    error stage

    bulukutuk

      someone please help me,

      if I make use of the component to load the player SWFloader contained in his library OSMF there are some errors, it comes out

      SecurityError: Error # 2070: Security sandbox violation: caller http://www.mydomain.com/main.swf can not access Stage owned by the app: / main.swf.
      at flash.display:: Stage / requireOwnerPermissions ()
      at flash.display:: Stage / addEventListener ()
      at VideoSurfaceManager / registerStage ()
      at VideoSurfaceManager / onAddedToStage ()
      at flash.display:: DisplayObjectContainer / addChildAt ()
      at org.osmf.containers:: MediaContainer / onAddChildAt ()
      at flash.events:: EventDispatcher / dispatchEventFunction ()
      at flash.events:: EventDispatcher / dispatchEvent ()
      at org.osmf.layout:: LayoutRendererBase / addToStage ()
      at org.osmf.layout:: LayoutRendererBase / prepareTargets ()
      at org.osmf.layout:: LayoutRendererBase / measure ()
      at org.osmf.layout:: LayoutRendererBase / validateNow ()
      at org.osmf.layout:: LayoutRendererBase $ / onExitFrame ()

      in which parts can be edited in order to avoid error

        • 1. Re: error stage
          bulukutuk Level 1

          a change default value in OSMFSettings.as

           

          public static var enableStageVideo:Boolean = true;

           

          to

           

          public static var enableStageVideo:Boolean = false;

           

          and this worked.

          What do these changes affect the other,
          and whether in the recommended or not