');
};
var thumbnail_src = data[0].thumbnail_large;
var video_title = data[0].title;
$("#thumb_wrapper").append(
'');
}
});
$(".vimeo_vid").first().addClass("active");
})
var video_id_first = "//player.vimeo.com/video/" + $(video_list.split(','))[0] + "?title=0&byline=0&portrait=0";
$("#vidiframe").attr({
"src": video_id_first,
"frameborder": "0",
"width" : "100%"
});
$("#thumb_wrapper").on('click', '.vimeo_vid', function() {
var video_id = "//player.vimeo.com/video/" + $(this).attr('video-id') + "?title=0&byline=0&portrait=0";
var active_video_title = $('.video-title',this).text();
$(".active-title h2").text(active_video_title);
$("#vidiframe").attr({
"src": video_id,
});
$(".active").removeClass("active");
$(this).addClass("active");
return false;
});
});