• Hi, I’m trying to make locally uploaded videos work in AMP but I don’t know how.

    I have a post with a video that looks like this:

    [video width="1280" height="720" mp4="https://www.elonx.cz/wp-content/uploads/2017/07/CRS-1_engine_failure.mp4" poster="https://www.elonx.cz/wp-content/uploads/2017/07/Z331.jpg" loop="true"][/video]

    The resulting AMP page gives a validation error because of the https:// in the video address, and the video doesn’t play at all. I tried changing it just to “/wp-content/uploads/2017/07/CRS-1_engine_failure.mp4” but that didn’t help.

    Is there a way to make videos like this work? Embedded YouTube videos work fine.

    Thanks

    • This topic was modified 6 years, 10 months ago by scr00chy.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    Hi @scr00chy

    In AMP, the Embeds must be on HTTPS (Secure protocol)

    So you just need to rename the URL of the video to https and that should work perfectly fine for you.

    Hope that helps, if not, we can go into the details.

    Thread Starter scr00chy

    (@scr00chy)

    Hi, thanks for the reply but I tried that and it doesn’t work. When I change the video address to https, it stops working altogether (I get an error saying “source not found”).

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    hi @scr00chy

    Let’s do one thing, why don’t you contact me personally via https://ampforwp.com/support/

    and I will personally make sure that this issue gets fixed for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to make local videos work in AMP without HTTPS’ is closed to new replies.