Does the video exits full screen mode automatically if you remove this code?
Short answer: no.
If I take out both statements and:
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 screen ends up black with the Videoplayer controls visible - I can then tap the "anti full screen" control (2 diagonal arrows pointing in) and the screen will revert to the blank Videoplayer_page - I can then tap the Back button I have on this page to escape.
This is decidedly ugly and rather Machiavellian - the videos I'm playing are help videos showing the user how to use the app.
If I only take out either one of the statements I am back to the state in post #1
I have tried various CallSubDelayed schemes, all to no avail.
I would be quite happy just to be able to suppress the "full screen" control - I realise I can suppress all controls but this again is ugly - and not compatible with the sister B4A app.
I really need a solution to this - both apps are published.