Hi,
I am playing a video file by embedding the RealPlayer. Its playing fine for .3gp files, but If I try to send .mp4 files, then it is saying the error : "Unable to play either sound or video clip. Trying to play partially"
Am able to hear the audio but can't see video clip.
Have a look at my code :
So, what player I need to choose for playing video clips ?Code:RApaLsSession session; User::LeaveIfError(session.Connect()); CleanupClosePushL(session); TBuf<50> fileName; _LIT( KVideoPath1, "CommaVideo1.mp4" ); fileName.Copy(KVideoPath1); RDebug::Print(_L("fileName = %S"), &fileName); // Gets the UID and MIME type for the given file name. TUid uid; TDataType dataType; User::LeaveIfError(session.AppForDocument(fileName, uid, dataType)); // Runs the default application using the MIME type, dataType. // You can also use the UID to run the application. TThreadId threadId; User::LeaveIfError(session.StartDocument(fileName, dataType, threadId)); CleanupStack::PopAndDestroy(); // session




