UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

[OpenHarmony] After integrating the SDK, local videos cannot be played, Only videos of skateboarding will be played.How to operate?

Open LeiFengChina opened this issue 10 months ago • 9 comments

Unity version

tuanjie1.4.4

Unity editor platform

Windows

AVPro Video edition

Ultra

AVPro Video version

3.2.6

Device hardware

HUAWEI mate60

Which HarmonyOS version are you using?

API Version 12

Unity Graphics API

OpenGLES 3

Texture format

BGRA

Audio output

System Direct

Any other Media Player component configuration required to reproduce the issue.

No response

Which output component(s) are you using?

No response

Any other component configuration required to reproduce the issue.

No response

The issue

After integrating the SDK, local videos cannot be played, Only videos of skateboarding will be played.How to operate?

Media information

No response

Logs


LeiFengChina avatar Jun 11 '25 05:06 LeiFengChina

What error message are you getting when you try and load the local video? Where is the local video stores and are you sure that you're targeting the correct location?

Chris-RH avatar Jun 11 '25 08:06 Chris-RH

The version we developed using your demo also has the same problem.

LeiFengChina avatar Jun 12 '25 09:06 LeiFengChina

Image

Image

LeiFengChina avatar Jun 12 '25 09:06 LeiFengChina

Have you set permissions to allow access to the folder?

Chris-RH avatar Jun 12 '25 09:06 Chris-RH

Have permission Other files in the rawfile path can be loaded.

LeiFengChina avatar Jun 12 '25 09:06 LeiFengChina

Have you tried importing the files into the project again? Do they run in the Editor?

Chris-RH avatar Jun 12 '25 10:06 Chris-RH

The editor runs normally.I think it's still a problem with the openharmony resource path.we tried make some changes.

LeiFengChina avatar Jun 13 '25 01:06 LeiFengChina

Can your demo export the HarmonyOS application to play videos from the local path normally?

LeiFengChina avatar Jun 13 '25 01:06 LeiFengChina

Apologies. Playback from local storage not yet working, however streaming assets and HTTP should work.

Chris-RH avatar Jun 13 '25 12:06 Chris-RH

@Chris-RH kindly tell any plan or version to fix this bug? I met the same issue lol

harrysimply avatar Jul 05 '25 12:07 harrysimply

@harrysimply We are working with the vendor to see if this is something we can offer support for, but as things stand the only device-level playback supported is via the StreamingAssets folder. Is this a solution that would work in your use-case? Or are you maybe downloading videos to the device to play off local storage?

Ste-RH avatar Jul 11 '25 09:07 Ste-RH

@LeiFengChina This is strange as playing from StreamingAssets works perfectly here. Are you able to send a demo project to [email protected] so we can investigate?

Ste-RH avatar Jul 11 '25 09:07 Ste-RH

Found and addressed. Please note though, we only (currently) support playback from StreamingAssets and http/https servers.

Ste-RH avatar Jul 15 '25 14:07 Ste-RH

AVPro Video version 3.2.8 has been released. Please let us know if it has not fixed this issue.

Chris-RH avatar Jul 23 '25 06:07 Chris-RH

After upgrade to version3.2.8 Playback is normal. we found that there was a watermark on the HarmonyOS. no watermarks on Android and iOS. How to remove it?need to buy AVPro Video v3 - HarmonyOS NEXT Edition?

LeiFengChina avatar Aug 12 '25 13:08 LeiFengChina

Hi, yes there will be a watermark on every edition apart from HarmonyOS NEXT Edition.

Chris-RH avatar Aug 12 '25 13:08 Chris-RH

ok,thx

LeiFengChina avatar Aug 12 '25 14:08 LeiFengChina