mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 01:24:27 +00:00
Video editing in the media modal:
* Add a state: `Add Subititles` * Add `text/vtt` to the list of allowed mime-types, files end in `.vtt`. `.srt` files are served as `text/plain`. * The content body of a video shortcode should be used for adding `<track>` elements only. This happens dynamically in the modal. If added by hand, they can still be parsed and managed. See #27016. git-svn-id: https://develop.svn.wordpress.org/trunk@27481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1983,6 +1983,7 @@ function wp_get_mime_types() {
|
||||
'rtx' => 'text/richtext',
|
||||
'css' => 'text/css',
|
||||
'htm|html' => 'text/html',
|
||||
'vtt' => 'text/vtt',
|
||||
// Audio formats
|
||||
'mp3|m4a|m4b' => 'audio/mpeg',
|
||||
'ra|ram' => 'audio/x-realaudio',
|
||||
|
||||
Reference in New Issue
Block a user