TMSFNCWXVideoPlayer does not respond in my own application

Hi,
I am using Delphi 12.3 with April patch and different Android Devices with Android 13 and Android 16 (including Pixel 7).
I added my own code to your video sample so that local files (in assets/internal) can also be played. Everything works as desired.

However, this does not work in my application. Neither with ‘Autoplay’ nor by calling the “play” function, there is no response. No callback functions are called either, not even ‘onClick’ on Android 13. I use the same videos as with the working sample code.

The two necessary .jar files are included, just like in the sample project.
I think it must be due to some project settings. Does anyone have any idea which ones?

Thank you in advance
Siegmar

Hi,

We cannot see an issue here, it works as expected in a new application too.
It's unclear what you are doing exactly in your own application. Without additional information we tested this by dropping the component on the form, adding a file under the assets\internal\ folder and setting the URL from a button click.

If you have the JAR files added, then could it be you are interacting with the video player before the embedded browser has a chance to finish initializing (e.g. form's OnCreate/OnShow events)?

I have send you an reply email a supportcenter with a new Projekt and added only the entry formular with the same problem.
I have made a test with a TSplash.OnDebugTimer sub with a breakpoint and debug the app. After the app is running I manually maipulate the variable "debug" to run the code inside the sub. No video. In your code you call "play" in the form.OnCreate event and it is working.

Best regards
Siegmar

Thank you for the sample, we replied via email.