04-27-2011 09:59 AM
We were trying to load an MP4 format file in the application, but the behavior is weird .
We tried to play a MP4 format file in the application with no other functionalities , it is successful to an extent`,
We can see the video after a little amount of time.
Later we tried to play the same video in my project with many functionalities but it was a dud attempt, we couldn't trace the video. But the application is getting closed after particular time ( time duration of the video ).
We are using netstreams in playing the video,
04-27-2011 03:40 PM
Having a similar problem. We're porting an Android app and the video isn't displaying. All of the controls and progress bars are functioning, but the video isn't displaying. We are using the typical MP4 setup with netstream and the video class. Is this just a limitation in the simulator or do we have to switch to the qnx mediaplayer?
04-27-2011 04:31 PM
I remember reading something about how there are a number of Codecs missing from the simulator or device or both. Basically, RIM hasn't had the time to get the proper licensing in place. Could this be the problem?
04-27-2011 04:37 PM
I believe the codec(s) are the issue. I did find some other threads talking about the same thing, just for the v0.9 SIM build. Apparently the codecs are still missing in the latest release. Thanks for the reply, much appreciated!
05-03-2011 07:07 AM
Finally i am able to play a MP4 formatted file on the playbook by using this code snippet,
var connect_nc:NetConnection = new NetConnection();
var stream_ns:NetStream = new NetStream(connect_nc);
stream_ns.client = this;
video = new Video();
stream_ns.play("Boeing 787 Flight Video Takeoff -cut.mp4");
And for your information, this code doesn't react normally on the simulator. Check it on the device directly