Site logo

[Resolved] Uploading a MP4 video from Canva to my blog post.

Home Forums Support [Resolved] Uploading a MP4 video from Canva to my blog post.

Home Forums Support Uploading a MP4 video from Canva to my blog post.

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #1809788
    David
    Staff
    Customer Support

    The original code ‘should’ be responsive… but i assume the source code didn’t provide that.
    You can try adding this CSS:

    .mejs-container, .mejs-overlay.load {
    	width: 100% !important;
    	height: 100% !important;
    }
    .mejs-container {
    	padding-top: 56.25%;
    }
    .wp-video, video.wp-video-shortcode {
    	max-width: 100% !important;
    }
    #1810299
    Robert

    I copy and pasted that into: Appearance —> Customize —> Additional CSS.

    Still is showing too wide for the mobile version.

    #1810405
    David
    Staff
    Customer Support

    Any particular reason to not use the built in Video Block ? It just needs the URL for the video – as that will be responsive ?

    #1810408
    Robert

    I just didn’t know how to do that, but will give it a try now. Thanks for the idea!

    Although I use the classic editor, so I don’t know if that changes things?

    #1811834
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You would need to use the block editor in order to use the Video block.

    Otherwise, you may need to look around for some “responsive video CSS” for one that works with your current set up.

    #1814087
    Robert

    Thanks Tom.

    I’ve tried a few ones I found online but unable to get the videos to fit the width in mobile versions still. I will continue to look and hopefully get lucky.

    Congrats on developing such a great theme! I’ve already recommended it to a few friends.

    Thanks,

    -Robert

    #1815133
    Tom
    Lead Developer
    Lead Developer

    Thank you! Appreciate it 🙂

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.