1337
1337
$id = absint( get_theme_mod( 'header_video' ) );
1338
1338
$url = esc_url( get_theme_mod( 'external_header_video' ) );
1345
1341
// Get the file URL from the attachment ID.
1346
1342
$url = wp_get_attachment_url( $id );
1349
1358
return esc_url_raw( set_url_scheme( $url ) );