[wp-trac] [WordPress Trac] #40788: Media elements video container is 1 px to wide

WordPress Trac noreply at wordpress.org
Wed May 17 14:31:57 UTC 2017


#40788: Media elements video container is 1 px to wide
--------------------------+-----------------------------
 Reporter:  BackuPs       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I just tested the new video widget in wp 4.8 (nightly bleed) and i
 discovered that the video container has inline css which is actually 1px
 to wide. Tested with different video's. All the same issue. See image
 below of video widget in footer.

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143073/a4424090-3ae3-11e7-97d3-034bc82e7c76.png)]]




 Tested with 20-seventeen and other themes. All the same issue.

 In the admin area it is ok. But in the front of the website its not and
 the 1px is added.  See image of admin area.

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143134/dfe2b206-3ae3-11e7-8cc1-b8a91396a1f4.png)]]



 Any suggestion?

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143275/98583f72-3ae4-11e7-8b29-86c67bb8044f.png)]]



 On mobile the issue shifts to the left of the video

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143498/806702a8-3ae5-11e7
 -9cfb-0434fb0d4620.png)]]


 If i then manually adjust the width by 1px it is ok again.

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143574/db1bfa82-3ae5-11e7-9050-5f54e5088a4c.png)]]


 at a certain resize point there are two black borders.

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26143714/58d03862-3ae6-11e7
 -8c7d-26109132f0e0.png)]]

 If i then adjust it by 1px then its ok again.

 [[Image(https://cloud.githubusercontent.com/assets/6078370/26144043/98670cb6-3ae7-11e7
 -8ffd-d001aea4c664.png)]]

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


More information about the wp-trac mailing list