Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40921, comment 24


Ignore:
Timestamp:
10/12/2017 06:59:14 PM (7 years ago)
Author:
blobfolio
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40921, comment 24

    initial v1  
    1 Unfortunately his approach isn't going to work. WordPress registers embed handlers based on a regular expression; there's no content-based parsing to determine what streams a file might include.
     1Unfortunately this approach isn't going to work. WordPress registers embed handlers based on a regular expression; there's no content-based parsing to determine what streams a file might include.
    22
    33Adding `mp4` to the list of audio extensions would result in such URLs being bound to both audio and video embed handlers, and since the audio one gets executed first, it would cause ''every'' MP4 file to render using the audio widget, even if a file has video streams.