add_theme_support( ‘custom-header’, array(
‘video’ => true
) );

the_custom_header_markup();

.wp-custom-header iframe,
.wp-custom-header img,
.wp-custom-header video {
display: block;
height: auto;
width: 100%;
height: 400px;
}