Hi,
I need to play on my .swf a movie (h264) from the users' hard drive.
Unfortunately the as3 components only read from URLs or streams, and you can't set the data or load from your c:/ path as the security sandbox stops you. Here is what each component loads:
- Video >> netStream
- VideoDisplay >> URL
- VideoPlayer >> URL
I tried attaching a fileReference.data (byteArray) to all of them but nothing seems to work.
-
my question: Is there a way of doing this without actually uploading the videos (h254) to the server?
-
I have read that it is possible to do a javascript that can upload the data to it and then pass it to the netstream but I can't figure out how to do it myself.
Any hint, hack, idea is welcome.
Many thanks.