I have a video player that will connect but doesn't show the video. The player works fine locally but when I try it online it connects but does not play the video. Here is my code:
* I didn't include the IP ADDRESS because, right now, we don't leave that server on all the time.Code:var rtmpNow:String = "rtmp://IP ADDRESS/media"; var nc:NetConnection = new NetConnection(); nc.onStatus = function(info) { if (info.code == "NetConnection.Connect.Success") { info_txt.text = "Connected"; } else { info_txt.text = "No Connection"; } }; nc.connect(rtmpNow); var ns:NetStream = new NetStream(nc); vid_video.attachVideo(ns); ns.play("video1");
Can anyone help?




Bookmarks