]]>*/ var video = “ “; } if (link == 2) { var video = “
$(‘.stop-video’).click(function () {
$(“#videopopModal”).hide();
$(‘body’).css(“overflow”, “unset”);
$(‘#youtubevideo’).each(function () {
var frame = document.getElementById(“youtubevideo”);
frame.contentWindow.postMessage(
‘{“event”:”command”,”func”:”pauseVideo”,”args”:””}’,
‘*’);
});
});
$(document).ready(function () {
/* debugger;*/
var adddress = window.location.href;
if (adddress.indexOf(“logoff”) > 0) {
localStorage.clear();
}
if ($(‘#currentitemcount’).length > 0)
$(‘#currentitemcount’).html($(‘#currentitemcount’).val() + 0 );
console.log(“ready!”);
});
Source