Hi everyone,
I have a problem when I take a screenshot (from Companion) of a paused video it gives me a black image, while if I do it on a text or an image it works perfectly, why?
Is the video displayed in a webviewer?
Try the tips from this thread
Taifun
Hi Taifun,
thanks for your advice, I tried to use the suggested extension (version 2.1), but as you can see from the attached images when I start the function it gives me an error message. I tested it using the Companion on an emulator. Am I doing something wrong?
you are trying to store the file in the root directory, which is not possible
store it in ASD or shared storage
Taifun
Nothing, I tried several times but I couldn’t get anywhere. I don’t understand why the Screenshot component of Kodular can capture an image or text but it can’t capture a video in stop mode. I have another curiosity, does the Screenshot component work with all Android versions?
The first step is to store the file in the correct directory… try / Download/file.png
To ask for permissions, do that before taking the screenshot, for example in Screen Initialize
First get this running, then continue with further steps
Taifun
I followed your instructions, I admit I have no computer skills and I struggled a bit, but then I managed to request permissions. I did various tests (replacing the Image component with Screen and Video_Player) and I discovered that the ComponentTolmage extension does not save the screen or video images, but only those of the image, exactly like the Screenshot command of Kodular.
Did you try arrangements?
Try for example the video player inside an arrangement, see also
Taifun
Yes, I have already tried to put the Video_Player inside a vertical arrangement that I then used as a component in the extension, I even tried to use the Web_Viewer instead of the Video_Player (always with the arrangement) but it does not copy the screen images even in this way.
Below, I report the blocks and the video of an example test.
Video link: https://i.imgur.com/EZCgF99.mp4
it seems to not work…
sorry, I do not have a solution for you currently
Taifun