Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
mhkhung
Posts: 26
Registered: ‎12-11-2012
My Device: 9900

MediaStopped working

I am trying to play a downloaded MP3 file in QML with mediaPlayer.setSourceUrl("file:///accounts/1000/appdata/com.xxx.xxx/data/26872.mp3")

 

It was working fine in the devAlpha images prior to the Jan30 release when I submitted my app.. now it's failing with 

 

MediaPlayer::smileytongue:repare: Error attaching input source. url="/accounts/1000/appdata/com.xxx.xxx/data/26872.mp3", error=UnsupportedMediaType

Playing the same file over http is fine.. Any idea?

 

- M

Regular Contributor
beemaster
Posts: 51
Registered: ‎06-29-2011
My Device: Z10 Limited Edition

Re: MediaStopped working

I have the same problem on Dev Alpha C. Neither MP3 nor AAC streams are supported. It worked on Dev Alpha A though. BlackBerry, please fix it :Excl: