The Width

By default, videos and photos will fill 100% of their container (depending on their aspect ratio).

To set the width in pixels of embedded objects for all testimonials, go to
wp-admin Testimonials Settings Embed Width

The height will be set automatically. This only affects testimonial views, not your posts or pages.

Advanced

However, you can use that embed/iframe code in your testimonial content if, for example, you want to tweak its settings, but if your client enters that code into the testimonial form, it will be stripped out for security reasons.

You can also use the [embed] shortcode to set the width and/or height. Use this when you want to control the dimensions on individual testimonials or when you simply want to delineate the URL within your testimonial content.

Note: The [embed] shortcode will not work when the NextGEN Gallery plugin is activated.

Examples:
[embed]https://youtu.be/fQDLii4PKJ0[/embed]
[embed width="300" height="150"]https://youtu.be/fQDLii4PKJ0[/embed]
[embed width="570"]https://youtu.be/fQDLii4PKJ0[/embed]

Steps

  1. The simplest method
  2. Get the link
  3. Options — you are here