There is still a lot of work that needs to be done before autonomous vehicles can travel on the roads. James Davidson has more on how close we really are to adopting this new technology.
‘
});
} 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