iOS Question Mediaplayer not working

omidaghakhani1368

Well-Known Member
Licensed User
Longtime 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
Longtime 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,
 
Upvote 0

omidaghakhani1368

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

omidaghakhani1368

Well-Known Member
Licensed User
Longtime 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

  • s.zip
    2.3 KB · Views: 177
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0
Top