<% if(dashboard && dashboard.length > 0){ %>
<% dashboard.forEach(function(item){ %>
<% let videohref = "/video/"+item.video_id; %>
<% if(item.video_thumbnail == "nothumb.png"){
var imgSrc = "/assets/images/nothumb.png";
} else {
var imgSrc = "/public/media/"+item.user_id+"/"+item.video_thumbnail;
} %>
<% }) %>
<% } else { %>
No Videos found
<% } %>