Background of the issue:
I am trying to use a custom block with a video on my WordPress site, but the source is missing from the translation. The issue can be seen on this page: hidden link. I expected to see the video with the source included: <video muted="" autoplay="" loop="" class="absolute w-1/2 object-cover rounded-full top-1/2 -translate-y-1/2 aspect-square max-1/2 left-[-2%]"><source src="hidden link" type="video/mp4"></video>.
Symptoms:
Instead of the expected video with the source, I got: <video muted="" autoplay="" loop="" class="absolute w-1/2 object-cover rounded-full top-1/2 -translate-y-1/2 aspect-square max-1/2 left-[-2%]"></video>.
Questions:
Why is the video source missing from the translation?
How can I ensure the video source is included in the translation?
Please note that the creation and maintenance of custom code falls outside the scope of our support. If you are implementing custom solutions, you can check our documentation for developers as well:
Finally, if the issue is specific to one or few pages, I recommend you just create the translations manually with the WordPress Editor, this way you don't need to alter any code or custom implementation. You just need to activate the option for the page, as explained: