Cricket protein is fast becoming a trend among people looking for newer ways to add protein to their diet. We take a look at an industry that is growing at the speed of light.
‘
});
} 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
);
};
Be the first to comment