ElliotHC Active Member Licensed User May 28, 2019 #1 I am using this code B4X: Dim mp As MediaPlayer mp.Initialize("mp", File.GetUri(File.DirAssets, "load.mp3")) mp.Play And for some unknown reason it won't play the whole thing. It will play anything from between about 2 seconds and 10 seconds.. Seems a bit random.
I am using this code B4X: Dim mp As MediaPlayer mp.Initialize("mp", File.GetUri(File.DirAssets, "load.mp3")) mp.Play And for some unknown reason it won't play the whole thing. It will play anything from between about 2 seconds and 10 seconds.. Seems a bit random.
Erel B4X founder Staff member Licensed User Longtime User May 29, 2019 #2 If it is a bug then it is a bug in JavaFX. Worth testing it with Java 11. Also see whether copying the file to File.DirData makes any difference.
If it is a bug then it is a bug in JavaFX. Worth testing it with Java 11. Also see whether copying the file to File.DirData makes any difference.