If I add a video block and set the video URL to a locally-hosted file, say
[video src="https://MYDOMAIN/wp-content/uploads/2022/12/myvideo.m4v" /]
then the generated page contains a div with the following text:
[video src="https://MYDOMAIN/wp-content/uploads/2022/12/myvideo.m4v" /]
so somehow the video block is simply remaining a shortcode. Other blocks work fine.
Hi eliotsmyrl!
Thank you for the inquiry.
Have you tried using a code block element? When using a text block or when editing the content using the default text editor, make sure that you’re on the text editor’s Text mode instead of HTML before adding the shortcode.
Regards,
Ismael
Yes, a code block element (using exactly the same shortcode) works – it does generate a video. But it’s not sufficient; it doesn’t have the options for auto-play etc that the video block has, and this needs to work for non-technical clients who will be making page edits. I don’t want to have to tell them to use code blocks and shortcodes.