cropped-logo-racer-vert.png
SPORT

SPORT NEWS – Crandon World Cup – Livestream

Crandon World Cup – Livestream



 

( perform() {
var func = perform() {
var iframe_form = doc.getElementById(‘wpcom-iframe-form-40dd57e2761af50dba55bcc5d6495483-5f5243a2a2aa1’);
var iframe = doc.getElementById(‘wpcom-iframe-40dd57e2761af50dba55bcc5d6495483-5f5243a2a2aa1’);
if ( iframe_form && iframe ) {
iframe_form.submit();
iframe.onload = perform() {
iframe.contentWindow.postMessage( {
‘msg_type’: ‘poll_size’,
‘frame_id’: ‘wpcom-iframe-40dd57e2761af50dba55bcc5d6495483-5f5243a2a2aa1’
}, window.location.protocol + ‘//wpcomwidgets.com’ );
}
}

// Autosize iframe
var funcSizeResponse = perform( e ) {
var origin = doc.createElement( ‘a’ );
origin.href = e.origin;

// Confirm message origin
if ( ‘wpcomwidgets.com’ !== origin.host )
return;

// Confirm message is in a format we anticipate
if ( ‘object’ !== typeof e.information || undefined === e.information.msg_type )
return;

swap ( e.information.msg_type ) {
case ‘poll_size:response’:
var iframe = doc.getElementById( e.information._request.frame_id );

if ( iframe && ” === iframe.width )
iframe.width=”100%”;
if ( iframe && ” === iframe.peak )
iframe.peak = parseInt( e.information.peak );

return;
default:
return;
}
}

if ( ‘perform’ === typeof window.addEventListener ) {
window.addEventListener( ‘message’, funcSizeResponse, false );
} else if ( ‘perform’ === typeof window.attachEvent ) {
window.attachEvent( ‘onmessage’, funcSizeResponse );
}
}
if (doc.readyState === ‘full’) { func.apply(); /* compat for infinite scroll */ }
else if ( doc.addEventListener ) { doc.addEventListener( ‘readystatechange’, perform(){
if (doc.readyState === ‘full’) {
func.apply();
}
}, false ); }
else if ( doc.attachEvent ) { doc.attachEvent( ‘onreadystatechange’, func ); }
} )();

 

advertising
SPORT NEWS – Crandon World Cup – Livestream
Comments

TOP STORIES

To Top