The video of the Ankidroid can't play

Hello,there
I want to discuss some problem with you here,my friend
Vesrion:2.18.4&blow2.18.4
2.19.beta&all alpha
Country:china
Phone:huawei
Mobile Operating System:Harmony OS—4.2.132
Video:mp4

Specific: I found some problems while synchronizing. I don’t know if this is a problem with the Chinese server or the code. If you can, I hope you can answer my questions

First of all, images and audio in all versions can be freely uploaded and overwritten (no matter which version). For instance, if I upload an image or audio from one Android phone and upload it to the server, it is perfectly fine if I log in to the same account from another Android phone and download the image or audio to that phone. At this time, the pictures and audio cards are playing normally

However, I also found some problems in the process.

I found that no matter which version of the above, whether from the old version to the new version or the new version to the old version. I couldn’t upload the video to the server when I uploaded it. The video that can be synchronized to the server cannot be downloaded to ankidroid

In addition, videos originally uploaded to Ankidroid will not play properly and will show a black frame that will not play properly

At the same time I also found some problems

  1. The video card of ankidroid2.19alpha version can be played normally but cannot be uploaded or synchronized to the server
    2.ankidroid2.18.4&blow cannot play a video card, upload it to a server, or synchronize it to a mobile phone

Summary: No matter the old version or the new version, Huawei mobile phone users in China can not upload video cards normally. It also failed to synchronize to the server

I’ve been using Ankiroid for over a year and have over 2000 cards, 150 video cards and a lot of audio cards. I sincerely hope that I can get an answer to my question. I would appreciate it if it could be resolved



1 Like

You said you can upload your files freely. Now you are contradicting yourself. Can you elaborate what is happening? Can you download the files? But they don’t work afterwards?

2 Likes

Hi, your advice is very important, so I will explain it again
Ankidroid 2.19 alpha&all beta can create video cards but cannot upload them to the server and therefore cannot sync to different phones under the same account
Older versions of Ankidroid, such as 2.18&blow, are now unable to create video cards, upload them to servers, or sync them
However, the above version of the picture can be freely uploaded and downloaded to the local I have very poor English, maybe there are some mistakes in the expression, so I would like to explain again, I don’t know whether you can understand this explanation
Or is there something wrong with the phone? But I also tried to use the tablet to try the same thing
The video card I posted in the previous post was Ankidroid 2.19 alpha&all beta, but 2.18&blow is not working these days, I don’t know why

What happens when you sync? Does the card not appear on AnkiWeb or other devices at all? Or does it appear there, but without the video?

What happens when you try to attach a video file to a note in AnkiDroid? Does it appear to work? Or does it fail with an error message? Or something else?

1 Like

Thanks i will check it

I’m having trouble with video playback and synchronization in AnkiDroid. I’m using a Huawei phone with Harmony OS 4.2.132, and I’ve tried versions 2.18.4 and 2.19 beta, but I keep running into issues.

Here’s what’s happening: I can upload and download images and audio fine, but videos either won’t upload fail to sync, or show as black frames when trying to play them. This issue occurs across all versions I’ve tested. The 2.19 alpha version can play videos but can’t upload or sync them.

I’ve been using AnkiDroid for over a year and have over 2000 cards including 150 videos. Any advice or help would be greatly appreciated. Thanks!"

What is the size of the video files and show how they look in the notes field.

1 Like

Yes, in version 2.19alpha & beta I can create video cards

Those video cards can be uploaded to Ankiweb. I tried logging into Ankiweb in an internet café. I found out that the video cards I created existed, but I didn’t know if those videos would be playable on Ankiweb

Other than that, all other cards are working properly. The phenomenon that the video card cannot be uploaded normally (less than 20M) did not occur at all last year. If a video smaller than 20M cannot be uploaded, then I think that a video larger than 50M will probably not be able to upload either, so I didn’t try again

This is perhaps a logical mistake I made, if you have doubts about this. I’m going to try again to create a video card larger than 50M (in version 2.19Alpha&beta) and see if it can be played and uploaded properly.

I created video cards in version 2.19alpha & beta mostly without any abnormalities, and Ankidroid didn’t prompt errors (these videos under 20M are all in mp4 format)

I also have video cards created in version 2.19 Alpha&beta on my ANKIWEB account

However, the videos do not seem to be uploaded to the server, so they cannot be synced to Ankidroid under the same mobile system account

This is a problem that I have already discovered, and in the official version of 2.18.4, video cards (videos smaller than 20M) have not been created normally, cannot be uploaded, and cannot be played normally, and will only show me a black rotation box. This was not the case a year ago. I felt very unusual, so I asked this question

If I make any mistakes in the above process or want me to explain clearly, you are welcome to point them out, and I will try my best to answer them. But please be a little faster, because I’m in a hurry for class

Additional note: None of my video cards are shared projects


Yeah,thanks. That’s the point

Okay, i’m pleasure to answer your question

In Ankidroid 2.19alpha&beta version. I can create video cards normally.
I’ve tried uploading videos to the server but all failed, and the videos are all in MP4 format. Among them, there are 20m, 50m, and even hundreds of megabytes. But nowadays none of them can play properly.

A year ago, I tried to upload a video of up to 500 megabytes on Ankidroid but failed, and I didn’t know what the upload limit was at the time.

But now I can’t upload 2.34M videos in 2.19 alpha&beta and I don’t know what’s going on



Thanks

@David Before we go too far down a rabbit-hole on this –

Are you aware of issues – and especially of differences between 2.18.4 and 2.19 beta – with the ability to play videos and sync videos to AnkiWeb?

Ok,please wait for some time,i will test it again

No, no – don’t test anything again yet! I’m just asking one of the developers whether this issue is already on their radar.

I had problems in ankidroid 2.18.4 with the template
https://ankiweb.net/shared/info/2061725225

For the <video> tag, the file path was specified as follows

  <source src="{{Id}}.webm" type="video/webm">

The solution was to specify the full path

 <source src="file:///storage/emulated/0/AnkiDroid/collection.media/{{Id}}.webm" type="video/webm">

In some alpha version, it was fixed.

This may not be very useful as not all templates using <video> had problems.

well i got it

I think it would be best to move this to GitHub at this point.

I don’t currently have much capacity for AnkiDroid work, and it would be ideal to prioritize this before 2.19 goes live

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.