-
1. Re: How to use this API to build a video player for Justin.tv
kglad Nov 16, 2013 6:46 AM (in response to TavaresEd)what part do you not understand?
-
2. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 16, 2013 7:01 AM (in response to kglad)I am building an app for android and I added that code with my api ID and my channel name and I am getting this error message:
[SWF] video%20player.swf - 21871 bytes after decompression
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at videoplayer_fla::MainTimeline/frame1()[videoplayer_fla.MainTimeline::frame1:1]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at ADLAppEntry/run()
at global/runtime::ADLEntry()
What is wrong?
-
3. Re: How to use this API to build a video player for Justin.tv
kglad Nov 16, 2013 7:31 AM (in response to TavaresEd)delete that allowDomain() statement and test on an android device.
-
4. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 16, 2013 7:57 AM (in response to kglad)I had to set up some configs at publish settins. I've done everything correct create the apk file but when I run it on android it doesnt show the video player. If I copy the code to an AS3 file and run it on my computer it works fine.
-
5. Re: How to use this API to build a video player for Justin.tv
kglad Nov 16, 2013 8:16 AM (in response to TavaresEd)did you allow internet permissions?
-
6. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 16, 2013 4:39 PM (in response to kglad)yes I did
-
7. Re: How to use this API to build a video player for Justin.tv
kglad Nov 16, 2013 4:58 PM (in response to TavaresEd)how are you seeing error messages when testing on android? are you using scout?
-
8. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 16, 2013 5:28 PM (in response to kglad)I don't see any error.It just doesnt work. It does not show the video that is being broadcasted.It does open and I see some text I put on the stage. But if I copy the same code I am using in the AIR proj. to a AS3 file it works fine.
-
9. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 16, 2013 6:22 PM (in response to TavaresEd)when I test the movie inside flash I get this error message when flash opens the emulator.I think it might be the problem that is occurring but I am not getting any messages at my android phone.
[SWF] video%20player.swf - 21871 bytes after decompression
SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at videoplayer_fla::MainTimeline/frame1()[videoplayer_fla.MainTimeline::frame1:1]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at ADLAppEntry/run()
at global/runtime::ADLEntry()
Test Movie terminated.
-
10. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 17, 2013 7:30 AM (in response to TavaresEd)Any ideas?
-
11. Re: How to use this API to build a video player for Justin.tv
kglad Nov 17, 2013 8:20 AM (in response to TavaresEd)again, "delete that allowDomain() statement and test on an android device."
-
12. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 17, 2013 8:55 AM (in response to kglad)it is still not working.The app opens up shows some text that is on the stage but doesn't show the player.
-
13. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 17, 2013 9:07 AM (in response to TavaresEd)It's funny because with allowDomain the text I have on stage appears the way it was set up but if I remove allowDomain it shrinks to a small size.
-
14. Re: How to use this API to build a video player for Justin.tv
kglad Nov 17, 2013 9:36 AM (in response to TavaresEd)use scout to debug your android installed app.
-
15. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 17, 2013 9:43 AM (in response to kglad)can I send you my project? I don't know how to use scout.
-
16. Re: How to use this API to build a video player for Justin.tv
kglad Nov 17, 2013 9:50 AM (in response to TavaresEd)free help i only offer via the adobe forums.
but, if you want to hire me to help, yes. you can hire me via http://www.kglad.com > contact
-
17. Re: How to use this API to build a video player for Justin.tv
TavaresEd Nov 17, 2013 10:03 AM (in response to kglad)I've sent you an email.Thank you



