Cross-platform SDK and HTML5 tools for mobile app development
X
 
9 posts / 0 new
Last post
blanco edwardo
ykuoles's picture
Offline
Mobile Wizard
Joined: 9 Jun 2011
Posts:
Playing video and audio

Hello everyone,

Is it possible to play a video or audio from a link on my application ??, if yes what audio and video file formats can be played.

Regards,
Edwardo

rishimittal
rishimittal's picture
Offline
Mobile Conjurer
Joined: 8 Mar 2012
Posts:
Yeah Fine..I have done that

Yeah Fine..I have done that works fine on Java based like .jar but sysmbian not yet supported ..any alternative..????

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Hi, I don't know what's

Hi, I don't know what's happened to that link, sorry. If you are using HTML5 then you can use the video tag. If you've got an RTSP server or a transcoding service, then you can simply call the url - I've done that on everything from iPhone to Nokia S40. Otherwise, I might try an maPlatformRequest to the video URL.

rishimittal
rishimittal's picture
Offline
Mobile Conjurer
Joined: 8 Mar 2012
Posts:
hi, http://dev.mosync.com/con

hi,

http://dev.mosync.com/content/video-file..This link is not working..???Any other ideas for the video streaming on the cross platform..

blanco edwardo
ykuoles's picture
Offline
Mobile Wizard
Joined: 9 Jun 2011
Posts:
Hello Sam, I am still testing

Hello Sam,
I am still testing on the emulator ,and its download and playing like that example u gave me
http://www.mosync.com/documentation/tutorials/downloading-audio-internet
But wont the performance be slower on the mobile device??
I havnt tried the streaming yet I will try it and feed u back soon.

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Hi Edwardo, its down to the

Hi Edwardo, its down to the OS to process the video, so there isn't a lot we can do. Is this a problem on a device or the emulator? Downloading and playing or streaming?

blanco edwardo
ykuoles's picture
Offline
Mobile Wizard
Joined: 9 Jun 2011
Posts:
I did try the download audio

I did try the download audio example, but when I play a large size video the application freezes, and sometimes when i play it and stop it, it freezes on exit. Any way to improve the performance???

blanco edwardo
ykuoles's picture
Offline
Mobile Wizard
Joined: 9 Jun 2011
Posts:
Hello Sam, in the ablove

Hello Sam, in the ablove examples i see that i have to create a resource to download my audio file, but what if my audio file is large in size??. Is not there a way to just play audio on my application without downloading it ??

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
http://www.mosync.com/documen

http://www.mosync.com/documentation/manualpages/audio
http://www.mosync.com/documentation/tutorials/downloading-audio-internet
http://dev.mosync.com/content/video-file

Login or register to post comments