'+
'
'+
' '+
'
';
text += '
';
//console.log(recentlyplayFunction)
if(show_quickPlay == 'audio'){
text += '
';
text += '
';
} else if(show_quickPlay == 'radio'){
text += '
';
text += '
';
} else if(show_quickPlay == 'video'){
text += '
';
text += '
';
}
text += '
';
text += '
';
}
}
text += '';
$("#i0_recently_played").append(text);
//console.log(text)
// $("#i0_recently_played_landingGrid").append(text);
//'#'+target+' .hot-album'
$('#i0_recently_played .hot-album').slick({
dots: false,
infinite: false,
slidesToShow: 6,
slidesToScroll: 6,
lazyLoad: 'ondemand'
});
}
//landing grid view
function getLandingGrid(data, type, target, moduleTitle, moduleDesc, color, descColor, moreLink, hasBackground){
var text = '';
var name = data.chiName;
var moreImage = '';
var defaultImage = '';
if(lang == 'eng'){
name = data.engName;
}
var screenWidth = $(window).width();
var slickwidth = 1104;
var slickLeft = 30;
/*
var bgHeight = 297;
if(data.refType == 'VDO'){
bgHeight = 327;
}
*/
if(screenWidth < 1440 && screenWidth > 995){
slickwidth = screenWidth*0.9-192;
slickLeft = (screenWidth*0.2166+30)-(screenWidth*0.0666)-216;
/*
bgHeight = (slickwidth/6-(slickwidth-24)*0.02)+134;
if(data.refType == 'VDO'){
bgHeight = (slickwidth/4-(slickwidth-24)*0.02)+134;
}
*/
}else if(screenWidth <= 995){
slickwidth = 704;
slickLeft = -37;
/*
bgHeight = 237.4;
if(data.refType == 'VDO'){
bgHeight = 296.4;
}
*/
}
//$("#"+target+", #"+target+" .module-bg").css('height', bgHeight+'px');
text += '