a detailed description:
I have created some Anki cards that work well on my Android phone, they can play with sound.
However, when I share these cards with my friend, something strange happens. The cards can play, but there is no sound.
what I have do:
I sent the video within the Anki card, and my friend’s iPhone can play it with sound.so the video ifself is no problem.
PS:
My friend’s iPhone software version is [15.4].
My friend’s iPhone is [iPhone13].
iOS Anki version: [24.08].
There’s no sound, because Anki couldn’t find the video file specified in the <video ... src="{{文件名称}}.mp4" ... </video> tag in the ‘collection.media’ folder.
The <video> tag isn’t officially supported and it may not work as expected.
To make it work, edit the Front/Back Template and replace <video ... </video> with {{Video}}. The “文件名称” field won’t be needed anymore and could be removed.
This is really not a good way to share your decks for troubleshooting. First, we cant view the deck for the first 24 hours. Second, we now need to import everything, then delete the files, etc. afterwards.
You can just export a single note with the issue and share it using a service like Drive or Dropbox.
The filenames in your shared deck are wrong. The problem is likely 1) filenames were too long, which caused Anki to rename them when you used ‘check media’, and 2) you are using filenames in a separate field, which prevents Anki from being able to update the field reference when the file is renamed. If I update the fields to match the filename, it works in AnkiMobile for me.