Upload videos from assets

Unfortunately, FileTools only works for AI2 Companion and APKs.

Try this (it should work on all Android versions, tested on Android 9, 11, 12):
test_vidCopyFromAssetsToASD.apk (8.7 MB)

Note: The VideoPlayer component has had several (non-fixed) bugs for more than 2 years. :upside_down_face: Iā€™ve pointed this out countless times.
One of them is that it will also request READ permission even if the video is playing from the ASD. To avoid this you must use an extension.

Iā€™m starting to doubt this will ever be fixed. :woman_shrugging: :question:
As long as these bugs are not fixed, I will no longer comment on them from now on.

Yes, I know. Thatā€™s why I gave you this hint.

1 Like

hi developers! i try whit your blocks and i canā€™t doit, please helpme!! :frowning:

this is my blocks
prueba2.aia (4.3 MB)

Does my test APK for for you?

please, if you can giveā€™me the aia please :slight_smile:

Whatā€™s the problem answering my simple question?

i send message to you

:question:

i try how you indicate but the apk doesnā€™t work :frowning: donā€™t open the video or giveme an error 701 :frowning:

are you saying, it works for the companion app?
what about providing a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select ā€œDownload Blocks as Imageā€. You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun

@Jhon_Gonzalez For the last time: Does my APK work for you?

1 Like

Yes @bodymindpower it works!, you can giveā€™me the file aia please thankā€™u :wink:

if it works then @bodymindpower already gave you the blocks for that cant you just copy those simple blocks instead asking for aia? is copying that much blocks that big of a task?

1 Like

@Taifun With the new version ā†’ TaifunFile (14a, 2021-12-17) it now also works with Companion. :+1:

1 Like

The aia please

Do you have any further wishes? :upside_down_face:

1 Like

i thank you for the help, iā€™m new and i donā€™t know about kodularā€¦ sorry if uncomfortable. i will to try whit your blocks :slight_smile:

thanks, but where have the blocks? maybe i dont see

@Jhon_Gonzalez ?