Gerardo52 Member Licensed User Oct 29, 2018 #1 Hi, I am trying to use videoplayer in an iOs app. All works fine but the audio not works. I use a mp4 file The app is running on an Ipad2 with IOS last update. Does anyone have some fix to this ? Thank you indeed
Hi, I am trying to use videoplayer in an iOs app. All works fine but the audio not works. I use a mp4 file The app is running on an Ipad2 with IOS last update. Does anyone have some fix to this ? Thank you indeed
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2018 #2 Do you hear sound with this example: https://www.b4x.com/android/forum/threads/videoplayer-replaces-videoview.86643/ ? Upvote 0
Do you hear sound with this example: https://www.b4x.com/android/forum/threads/videoplayer-replaces-videoview.86643/ ?
Gerardo52 Member Licensed User Oct 29, 2018 #3 I used just that code, and also with bunny no sound: Private VideoPlayer1 As VideoPlayer VideoPlayer1.LoadVideoUrl("https://k-artlab.space/videotest/lez1-Farina.mp4") 'VideoPlayer1.LoadVideoUrl("https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4") Wait For VideoPlayer1_Ready (Success As Boolean) If Success Then VideoPlayer1.Play 'to start playing automatically End If Thank you Upvote 0
I used just that code, and also with bunny no sound: Private VideoPlayer1 As VideoPlayer VideoPlayer1.LoadVideoUrl("https://k-artlab.space/videotest/lez1-Farina.mp4") 'VideoPlayer1.LoadVideoUrl("https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4") Wait For VideoPlayer1_Ready (Success As Boolean) If Success Then VideoPlayer1.Play 'to start playing automatically End If Thank you
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2018 #4 Are you sure that the volume is not too low? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2018 #6 Are you able to play sounds with MediaPlayer? What about VideoView? Upvote 0
Gerardo52 Member Licensed User Oct 30, 2018 #7 My tablet works fine with any kind of media. I have not tested with videoview, where I can find it? Thank you Upvote 0
My tablet works fine with any kind of media. I have not tested with videoview, where I can find it? Thank you
Erel B4X founder Staff member Licensed User Longtime User Oct 31, 2018 #8 It is in iMedia library. Upvote 0
Gerardo52 Member Licensed User Nov 1, 2018 #10 Hello, I have tried with videoview and the result is the same. The video runs, but no audio... ALL This happens on an Ipad mini 2 with IOS 12.1 Thank you Last edited: Nov 1, 2018 Upvote 0
Hello, I have tried with videoview and the result is the same. The video runs, but no audio... ALL This happens on an Ipad mini 2 with IOS 12.1 Thank you
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2018 #11 Try to set the audio session before you initialize the video player: https://www.b4x.com/android/forum/t...ence-ringer-switch-setting.50224/#post-313642 (you don't need the media player). Upvote 0
Try to set the audio session before you initialize the video player: https://www.b4x.com/android/forum/t...ence-ringer-switch-setting.50224/#post-313642 (you don't need the media player).
Erel B4X founder Staff member Licensed User Longtime User Nov 2, 2018 #13 Sorry but I don't have any other suggestions for now... Upvote 0
Gerardo52 Member Licensed User Nov 2, 2018 #14 Hi, I understand. The only thing I can do is to attach the source file, hoping that someone will take a look if maybe there are some error inside... Thank you Attachments 1.zip 1.2 KB · Views: 322 Upvote 0
Hi, I understand. The only thing I can do is to attach the source file, hoping that someone will take a look if maybe there are some error inside... Thank you
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2018 #15 Use File - Export as zip to create the zip file. I'll try it here. Upvote 0
Gerardo52 Member Licensed User Nov 4, 2018 #16 Hi Here the file done as your request Thank you so much Attachments videoexample.zip 111.2 KB · Views: 321 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2018 #17 Works fine here running on an iPad Mini. Have you tried to restart the device? Upvote 0
Gerardo52 Member Licensed User Nov 4, 2018 #18 Hello, yes I tried all. But at this point I begin to think that there is some trouble on my ipad. And is all very strange because sound works perfectly. Can you let me know your OS version? I will investigate further and let you know here. Thank you very much Upvote 0
Hello, yes I tried all. But at this point I begin to think that there is some trouble on my ipad. And is all very strange because sound works perfectly. Can you let me know your OS version? I will investigate further and let you know here. Thank you very much
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2018 #19 iOS 11 if I remember correctly. I also tested it on an iOS 12 device (iPhone). Upvote 0
Gerardo52 Member Licensed User Nov 5, 2018 #20 Hi Erel Ok Thank you. It seems some specific device trouble. I will see what to do. Upvote 0