[wp-trac] [WordPress Trac] #42643: FLV video format not playing

WordPress Trac noreply at wordpress.org
Tue Dec 12 23:51:27 UTC 2017


#42643: FLV video format not playing
--------------------------+-------------------------
 Reporter:  studiosx      |       Owner:  Clorith
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.9.2
Component:  Media         |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by Clorith):

 * keywords:   => has-patch


Comment:

 [attachment:42643.patch] implements a `customError` handler for any MEJS
 player, this restores the previous behavior of displaying a download link
 if a FLV file can't be rendered for any reason.

 It's worth noting that the new render options in MEJS means it'll output
 the render errors as notices to the JS console no matter what, as they are
 only notices, they don't prevent other JS from running as intended. That
 knowledge, along with them only appearing if a rendering fails makes me
 think that's a non-issue for most cases, as authors are more likely to
 sort out their videos if they don't display.

 This approach would also mean that any other format that encounters an
 error gets a download link, this wasn't the previous behavior, but it
 makes sense to not limit this fallback only to flash videos.

 It would be great if those affected by the issue in the ticket had a
 chance to test the patch as well, so we can try to spot any edge cases
 that may pop up, I've so far done tests with FLV and mp4 files and they at
 least seem fine in major browsers (including the notorious IE11).

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


More information about the wp-trac mailing list