iOS Question (Solved) MediaPlayer - not playing

f0raster0

Well-Known Member
Licensed User
Longtime User
Hi Team,

I'm working on an app that was functioning perfectly using the media player. While I was focusing on other areas of the app, I didn't notice when my file stopped playing.
(I have in my iphone a previos version that still the sound work fine, this is a version compilated/installed time ago before July 15)

I reverted to my previous backup thinking that I broke something in the code, but after compiling any backup version, the file still doesn't play.. even though I compiled a copy of the app installed before July 15

I found this demo on the forum, which also doesn't play the sound in my iphone:
MediaPlayer Demo https://www.b4x.com/android/forum/threads/solved-mediaplayer-does-not-play-mp3.129278/#post-811765

Is it possible that something changed in MediaPlayer after updating to B4A 13 beta? (I know I'm working on B4i but maybe..)

I'm attaching an example for your reference,


Thank you in advance
 

Attachments

  • Example.zip
    13.9 KB · Views: 59

Alexander Stolte

Expert
Licensed User
Longtime User
It works if i turn off the mute switch.

Use this:
 
Upvote 0
Solution

f0raster0

Well-Known Member
Licensed User
Longtime User
woooow, I've been struggling with this for over 5 hours! I even took a bike ride to clean my brain and came back to find out that the mute switch was the issue?!
3am here - going to sleep now - thanks very much!

Edit: Now I understand the functionality of that switch
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…