jQuery(function($){
$(".sby_items_wrap").on("mouseover touchstart", ".sby_video_thumbnail", function() {
$(this).find("img").each(function() {
$(this).parent().parent().find(".descrizioneYoutube").remove();
$(this).parent().after(`
${$(this).next().find(".sby_video_title").text()}
${$(this).attr("alt")}
`);
$(this).parent().next().find("p").collapser({
mode: 'lines',
truncate: 5,
ellipsis: '...',
controlBtn: '',
showText: 'Mostra di più',
hideText: 'Nacondi testo',
showClass: 'show-class',
hideClass: 'hide-class',
atStart: 'hide',
blockTarget: 'next',
blockEffect: 'fade',
lockHide: false,
changeText: false,
beforeShow: null,
afterShow: null,
beforeHide: null,
afterHide: null
});
});
});
});