Do you have a link where I could see the issue in action? My experience with third party videos (such as youtube and vimeo) has been that Mailchimp has handled them pretty seamlessly, but the behavior may be different with self hosted videos. I can look into it and see what might be possible.
Thread Starter
Marty
(@bozzmedia)
Thanks Robin!
Here’s a link to the newsletter:
https://www.dropbox.com/s/h956xug7zfeim9g/for-rss-q.txt?dl=0
I can confirm in this newsletter youtube embeds behave, the wordpress based embed does not.
-
This reply was modified 7 years, 2 months ago by
Marty.
Thank you for the link, that was very helpful! I think there is a combination of things going on here: 1) the WordPress shortcode does add a set height/width in a couple of places on videos (note that videos added with the new block editor do not have these at all), which I can probably try to fix in the plugin; 2) it looks like your theme (most likely, although it could be a plugin) is setting the content_width global to a pretty high number (1920), which is exacerbating the issue (it looks like WordPress’ default is 640, which could still be problematic, but not as significant).
I can certainly look into addressing this–in the meantime, if you share another self-hosted video, you may want to edit the width (click on the pencil for the video in the editor) to be smaller, at least what your site content width is. It won’t completely fix the issue, but until I get an update released, it should help. Thank you again for the link!
Thread Starter
Marty
(@bozzmedia)
My pleasure. We do use a fluid video embed plugin but I ruled that out when the youtube embeds were not affected.
The shortcode looks like this:
[video width="1920" height="1080" mp4="https://website.org/wp-content/uploads/2019/03/video.mp4"][/video]
The post author uploaded the video and it appears the WP classic editor set those widths based on the source file. Good to know about the block editor behavior.
Again really appreciate you taking a look and hoping this will help other users of the plugin down the line. You rock!