Media: Add awareness to Attachment Display Settings that audio and video can be embedded.
Also: * Add file length metadata to Attachment Details. * Round the kb/s bitrate on post.php. fixes #24449. git-svn-id: http://core.svn.wordpress.org/trunk@24777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2470,7 +2470,7 @@ function attachment_submitbox_metadata() {
|
||||
if ( ! empty( $meta['bitrate'] ) ) : ?>
|
||||
<div class="misc-pub-section">
|
||||
<?php _e( 'Bitrate:' ); ?> <strong><?php
|
||||
echo $meta['bitrate'] / 1000, 'kb/s';
|
||||
echo round( $meta['bitrate'] / 1000 ), 'kb/s';
|
||||
|
||||
if ( ! empty( $meta['bitrate_mode'] ) )
|
||||
echo ' ', strtoupper( $meta['bitrate_mode'] );
|
||||
|
||||
Reference in New Issue
Block a user