Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1378521

    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.

    #1378532

    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

    #1378544

    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.

    #1378602

    Hi,

    That seems to be related to m4v file format. I downloaded your video and uploaded on my local installation as .mp4 file and it worked as expected.

    Could you convert the your video to mp4, ogv or webm?

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.