Motorists are being reminded to take extra time on the roadway as snow continues to fall in Toronto on Friday, which has forced the cancellation of buses for several school boards.
‘
});
} else {
var rel_id = svp.releaseInfo.contentId+””;
if( typeof gnca_social_share_collection[rel_id] != “object” ) {
var resp = jQuery.parseJSON( jQuery.ajax({
url: “/gnca-ajax/videoshare-links/{“id”:”” + svp.releaseInfo.contentId + “”}/”,
async: false
}).responseText);
gnca_social_share_collection[rel_id] = resp;
}
jQuery(‘#videoContainer’).gnca_socialVideoShare(‘init’, gnca_social_share_collection[rel_id] );
}
};
// don’t do on IE, doesn’t work yet
if ( !gNews.Common.isIE && !gNews.Common.isTrident && gNews.Common.isFlash ) {
var gnca_videoShareCallbackInterval = window.setInterval(
function() {
//console.log(‘ !!! gnca_shareVideoCallback REGISTRATION !!! ‘);
// exit if required obj isn’t set yet
try {
if ( !svp || !svp.setShareFunction || !svp.flashPlayerObjectId )
return;
// still here?? svp object must exist, register share-button callback
svp.setShareFunction( gnca_videoShareCallback);
// remove interval
window.clearInterval( gnca_videoShareCallbackInterval );
gnca_videoShareCallbackInterval = false;
} catch (e) {};
},
1000
);
};
Powered by WPeMatico