How to Play Ofline Videos

I Searched the Comunity and Couldnt find the block to set as source
the test works fine, the apk cant find the file, is there a way to do it without taifun file?

Try like this one:
/android/data/package_name/files/your file name
Or use taifun tools extension and join path to assets to file name

1 Like

thanks,
in package name what do i write?

Your app package name if you have used a custom package name.
You can also use Package component available in utilities category to get package name.

Still same problem, i will try the experimental extension
/android/data/io.kodular.icaroemanuelpl.ShakeMemesBrasil/files/CachorroEditado.mp4

You have to use full path.The path I have given is an example.
Use taiful tools extension and get path using pathtoassets block.

There is obviously a bug with the Video_Player component. The video player does not find / get the (right) path to the assets. In addition, READ_EXTERNAL_STORAGE permission is falsely requested even though the video file is played from the assets. Companion works. The other AI versions do not have this error.

To reproduce the error, here is a test aia: videoPlayerTest.aia (633.6 KB)

1 Like

This would have been enough

But as @bodymindpower mentioned

@KodularCreator something to take a look at

/Boban

1 Like

When I create an app-specific folder and save the video to this folder, READ / WRITE permissions are requested (should not be like this). If I deny it, I get an error message Error 908: …) and the video is not played. Therefore the Video_Player component behaves differently than eg the Player component.

videoPlayerTest2.apk (4.8 MB)