[wp-trac] [WordPress Trac] #35771: Setting Size for Native Video Player Doesn't Work

WordPress Trac noreply at wordpress.org
Sun Feb 7 21:28:02 UTC 2016


#35771: Setting Size for Native Video Player Doesn't Work
--------------------------+-----------------------------
 Reporter:  Tranny        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Width and height rules do not affix the size of the embedded native media
 player.

 Width is ultimately honored, but height setting is overruled and set
 proportionally based on video's proportions. Consequently, if width of the
 player is set to fill in the theme's available content space, but the
 embedded video is vertical (filmed vertically, whereby height of the video
 is greater than width), then the player will be stretched way too tall,
 regardless of height settings (which is ultimately ignored).

 To reproduce:

 Embed any locally hosted, vertical video using native video player, using
 the Embed Media Player option from the Insert Media attachment window. Set
 width to the width of your theme's content area, and height to less than
 width. Height will not be honored.

 Desired solution:

 Set player size to the width and height chosen by the user. Fit the video
 within the set space of the player.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35771>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list