I already found the solution. I’m using WP_Query as the solution. Here is the code:
<?php
// The Query
$query = new WP_Query( array(
'posts_per_page' => 4,
'tax_query' => array(
array(
'taxonomy' => 'post_format',
'field' => 'slug',
'terms' => array('post-format-video'),
'operator' => 'IN')
)
) );
if ( $query->have_posts() ) : while ( $query->have_posts() ) : $query->the_post();
get_template_part( 'template/loop', 'video' );
endwhile; wp_reset_postdata(); else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
So, it will only appear the video post format. 🙂