so-widgets-bundle icon indicating copy to clipboard operation
so-widgets-bundle copied to clipboard

Video: Add the ability to set the width and height of a video

Open AlexGStapleton opened this issue 9 years ago • 2 comments

The WordPress embed shortcode allows for the user to specify the width and height of a video. We should too.

AlexGStapleton avatar Jul 22 '16 15:07 AlexGStapleton

This is a fairly complicated request. Even though the embed shortcode allows for width and height attributes, it doesn't always respect them. Try the example in the link and check the size of the output. :trollface:

braamgenis avatar Feb 13 '17 12:02 braamgenis

Leaving this open as a p3 enhancement for now. Perhaps can investigate further in the future. For now my feedback to users would be that the layout would dictate the video width. For specific size control I'd recommend generating an embed code from YouTube or similar and then using the iFrame tag provided in a Text widget or similar.

Misplon avatar May 10 '18 07:05 Misplon