Skip to content

Commit

Permalink
flashlsFlowPlayer: allow cross-domain scripting
Browse files Browse the repository at this point in the history
  • Loading branch information
mangui committed Apr 29, 2015
1 parent 2124ea2 commit 9c23170
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified bin/debug/flashlsFlowPlayer.swf
Binary file not shown.
Binary file modified bin/release/flashlsFlowPlayer.swf
Binary file not shown.
2 changes: 2 additions & 0 deletions src/org/mangui/flowplayer/HLSStreamProvider.as
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package org.mangui.flowplayer {
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.system.Security;
import flash.utils.Dictionary;
import org.flowplayer.controller.StreamProvider;
import org.flowplayer.controller.TimeProvider;
Expand Down Expand Up @@ -66,6 +67,7 @@ package org.mangui.flowplayer {
CONFIG::LOGGING {
Log.info("onLoad()");
}
Security.allowDomain("*");
_player = player;
_hls = new HLS();
_hls.stage = player.screen.getDisplayObject().stage;
Expand Down

0 comments on commit 9c23170

Please sign in to comment.