var $container = $('#masonry');
$container.imagesLoaded( function() {
$container.masonry({
itemSelector: '.list-all-video__item'
});
$container.addClass('loaded');
});
#masonry {
opacity: 0;
transition: opacity 0.4s ease-out 0s;
}
#masonry.loaded {
opacity: 1;
}