I have successfully used the VideoPlayer (https://www.b4x.com/android/forum/threads/videoplayer-replaces-videoview.86643/) in my B4I app.
My ..._Complete event is:
Everything works fine EXCEPT:
1. If I tap the "full screen" control on the bottom right of the video player (2 diagonal arrows pointing out) so that the video is full screen.
2. Leave it in this state until the video completes.
The ..._Complete event executes but the video panel does not go away and nothing will get rid of it short of hitting the Home button and starting the app all over again.
This is a real ugly look.
As a work around, is it possible to hide the "full screen" control - its buried in a custom control and I can't figure a way to get rid of it.
Thanks in anticipation...
My ..._Complete event is:
B4X:
Private Sub Videoplayer1_Complete
'Clean up
Videoplayer_page.RootPanel.RemoveAllViews
'Return to previous page
Main.NavControl.RemoveCurrentPage
End Sub
Everything works fine EXCEPT:
1. If I tap the "full screen" control on the bottom right of the video player (2 diagonal arrows pointing out) so that the video is full screen.
2. Leave it in this state until the video completes.
The ..._Complete event executes but the video panel does not go away and nothing will get rid of it short of hitting the Home button and starting the app all over again.
This is a real ugly look.
As a work around, is it possible to hide the "full screen" control - its buried in a custom control and I can't figure a way to get rid of it.
Thanks in anticipation...