[wp-trac] [WordPress Trac] #27211: Firefox + Videos = Sad

WordPress Trac noreply at wordpress.org
Wed Feb 26 03:58:49 UTC 2014


#27211: Firefox + Videos = Sad
----------------------------------------+--------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  high                        |   Milestone:  3.9
Component:  Media                       |     Version:  trunk
 Severity:  major                       |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  ui
----------------------------------------+--------------------

Comment (by eightface):

 I've done some poking around with the first embed you posted (haven't
 tried the playlist yet). I also get the same bugs testing in Safari
 without Flash. I think there's a disconnect between the original
 dimensions, the dimensions spit out by WordPress and how mediaelement.js
 is working.

 The original video is 640x360. The content width for Twenty Fourteen is
 604px, which should give a corresponding height of 339px. The wp embed
 output before mediaelement has its way has width=604 and height=360 as
 parameters... which seems to be what gets used in Firefox and Safari
 (604x360), hence the black bars. Don't know why the play button is being
 weird, but imagine it's some sort of similar issue with the dimensions.

 Would the approach here be to make sure that original video embed output
 is getting the appropriate width/height, or trying to fix with css/js?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27211#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list