-
1. Re: Help with video player for android app.
kglad Jan 3, 2014 2:28 PM (in response to TavaresEd)does your app have internet permission?
-
2. Re: Help with video player for android app.
.:}x-=V!P=-x{:. Jan 3, 2014 2:31 PM (in response to TavaresEd)in the docs it shows the ns.play("...") is before the video.attachNetStream(ns)
not sure if that matters i cant test.
if you are still having issues add events for security and error handeling
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
function securityErrorHandler(event:SecurityErrorEvent):void {
trace("SecurityErrorEvent: " + event);
}
function asyncErrorHandler(event:AsyncErrorEvent):void {
trace("AsyncErrorEvent: " + event);
}
-
3. Re: Help with video player for android app.
TavaresEd Jan 3, 2014 9:58 PM (in response to kglad)yes
-
4. Re: Help with video player for android app.
TavaresEd Jan 3, 2014 10:00 PM (in response to .:}x-=V!P=-x{:.)I am not getting any error.The video player is just not being showed on stage.I think thie function init never gets executed.
-
5. Re: Help with video player for android app.
kglad Jan 4, 2014 6:47 AM (in response to TavaresEd)then replace
this.addEventListener(Event.ADDED_TO_STAGE,init);
with
init(null);
-
6. Re: Help with video player for android app.
TavaresEd Jan 4, 2014 3:20 PM (in response to kglad)I am still getting a black screen and app freezing.It works at the computer test but when I upload it to my celphone it doesnt work.
-
7. Re: Help with video player for android app.
kglad Jan 5, 2014 7:42 AM (in response to TavaresEd)this appears incorrect, http://www.djchambinho.com/Videos/primeiraquinta.flv
or you need to add to your mime types or fix cases.
-
8. Re: Help with video player for android app.
TavaresEd Jan 5, 2014 11:16 AM (in response to kglad)I've changed it to ns.play("http://www.djchambinho.com/videos/segundaquinta.flv"); and if I test the app on my computer it works but if I upload it to my cellphone I get a black screen and I have to close the app.
-
9. Re: Help with video player for android app.
kglad Jan 5, 2014 11:29 AM (in response to TavaresEd)the links in messages 8 and 7 point to the same file.
-
10. Re: Help with video player for android app.
TavaresEd Jan 5, 2014 4:29 PM (in response to kglad)Maybe it is just a problem at this link but the file that is inside www.djchambinho.com/videos folder on my server is segundaquinta.flv. Maybe it is because I copied and paste the link here.I don't know
-
11. Re: Help with video player for android app.
kglad Jan 5, 2014 6:47 PM (in response to TavaresEd)does it work if you don't pause() your netstream?
-
12. Re: Help with video player for android app.
TavaresEd Jan 6, 2014 8:48 AM (in response to kglad)No.Remember you told me to add pause()?



