_wp_override_admin_video_width_limit

The timeline below displays how wordpress function _wp_override_admin_video_width_limit has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Replaces the height and width attributes with values for full size.
 *
 * wp_video_shortcode() limits the width to 640px.
 *
 * @since 4.6.0
 * @ignore
 *
 * @param $output Video shortcode HTML output.
 * @return string Filtered HTML content to display video.
 */
function _wp_override_admin_video_width_limit($output)
{
    return str_replace(array('640', '384'), array('1050', '630'), $output);
}