Making WordPress.org

Opened 8 years ago

Closed 7 years ago

#1789 closed defect (bug) (fixed)

Videos in plugin description get cut off

Reported by: philipjohn's profile philipjohn Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

In the new plugin directory, if a plugin uses a video at the start of the plugin directory it gets cut off by the "Read More" feature.

This looks broken at first, until you realise it's just hidden. Not a bug in itself, but a UI weirdness. We perhaps need to be able to have an "excerpt" for that first snippet, but that's probably not an easy solution.

See https://wordpress.org/plugins-wp/liveblog/ for an example, and the attached screenshot.

Attachments (1)

liveblog-video-cutoff.png (128.9 KB) - added by philipjohn 8 years ago.
Video is cut off

Download all attachments as: .zip

Change History (3)

@philipjohn
8 years ago

Video is cut off

#1 @samuelsidler
8 years ago

So we probably need to autodetect if a video is starting off the Details section and resize the area to fit. We'll have to know the default sizes of the various video platforms we support.

#2 @dd32
7 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 4385:

Plugin Directory: Expand the initial description to show the full contents of any embed/videos present in the first paragraph/div.
This fixes cases where descriptions start with a video, and caused the controls to be hidden below the fold.

Fixes #1789.

Note: See TracTickets for help on using tickets.