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)
EDIT: I posted this bug on July 2019. Today is Oct 10, 2020 and the bug is still not fixed.
Can anyone add it to the → Bug tracker?
EDIT 2: Today is Dec 6, 2021 and the bug is still not fixed.
This would have been enough
But as @bodymindpower mentioned
@KodularCreator something to take a look at
/Boban
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)
your answer is here
just write mobile.mp4
without anything
Taifun
in companion work, but in apk does not work. i used permission
it seems to be, you just confirmed that bug again?
to be sure, please prepare an example project as simple as possible and
- provide a screenshot of the blocks as well as
- upload the project (aia file) into this thread, so someone can check
Taifun
This post was flagged by the community and is temporarily hidden.
unfortunately this is not a project as simple as possible…
but probably someone else is interested in taking a look…
Taifun
Every path should work except the one from the assets (only with APK).
As I have mentioned often enough, this bug is still not fixed. → @Kodular
Great job, I did it with webview and it works without needing Tainfu, now it’s easy to understand
I placed the block within the permission granted, if the video is initialized right at the start of the app. And also a time to load the video and initialize.
great work
to check, if the file already exists, you better use the Exists method…
Taifun