iOS Question Mediaplayer not working

omidaghakhani1368

Well-Known Member
Licensed User
Hi Erel.
I use below code for play audio :
B4X:
Dim a as MediaPlayer
a.Initilize(File.DirAssets,"ding.mp3","media")
a.Play
When run it not play audio.
I increase device volume but not have audio.
 

omidaghakhani1368

Well-Known Member
Licensed User
:( I'm sorry Erel.
In forum anyone is friend and help to other one.
Not work.
It's not get error but not have sound,
 

omidaghakhani1368

Well-Known Member
Licensed User
No but i think mp3 file common audio format that basic would be play it.
Maybe problem is my phone?
 

omidaghakhani1368

Well-Known Member
Licensed User
I test again it.
When create breakpoint and step by step run project,audio play but when complete run without breakpoint not working
Attahment file
 

Attachments

omidaghakhani1368

Well-Known Member
Licensed User
Hi again.
the main problem is AirPlay.
When i use AirPlay,also any audio play in iphone not have voice but when i stop airplay it play and have voice.
This is experience
 
Top