iOS Question VideoPlayer not showing song name from local MP3 file

Alessandro71

Well-Known Member
Licensed User
Longtime User
Based on this example https://www.b4x.com/android/forum/threads/background-playback.49337/ I've implemented background sound playing, which works as expected.
The only thing missing is the display of the Author/Song title in the On Screen Control
the MP3 file has "Author", "Title", "Album" and "Track" tags are correctly set.
Tags are both in ID3 V1.0 and V2.3 format
Here is the code:

B4X:
    VP_background.ShowControls = False
    VP_background.LoadVideo(File.DirAssets, "backgroundsound.mp3")
    Wait For VP_background_Ready (Success As Boolean)
    
    Dim NativeMe As NativeObject= Me
    NativeMe.RunMethod("setAudioSession", Null)
    NativeMe.RunMethod("register", Null)
    VP_background.Play
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
update: looks like an issue with Debug mode
running with TestFlight the On Screen Control shows correct information
 
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…