Opened 9 years ago
Last modified 9 years ago
#42851 new defect (bug)
Problem with video height since 4.9
| Reported by: | vhcrossmedia | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Media | Version: | 4.9.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
I have a video on a page and after updating to WP 4.9.1 the following element gets a height of 0px:
<div style="width: 822px; height: 0px;" class="wp-video" data-aspectratio="0">
The result is that the video area shows just the controls and nothing more (see attached screenshot on the left) .
I can fix this with workarounds via CSS like styling mejs-container and mejs-mediaelement (see attached screenshot on the rigth) but that's a hassle for the responsive versions.
Anyone elese facing these problems?
(P.S.: I'm not an expert AND a German, so forgive me for dumb questions and bad writing …)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
There is a similar ticket on how Wordpress now removes the height= attribute from iframe tags in the textwidget, it causes the iframes to have no height= in the final html and it is too short. Could that be what you're seeing?
https://core.trac.wordpress.org/ticket/42695