window[‘TVEPlayer’] = “1705741278110361576”;
if( typeof window[‘NEILSENTRACE’] !== ‘undefined’ ){
window[‘NEILSENTRACE’].init();
} else {
console.log(“Neilsen not ready at player ready”);
}
// Fix for PRDT-3013
// Code will check for presence of brightcove player and attempt to autoplay if it isn’t playing
// due to an error in another player plugin
( () => {
try {
const CHECK_INTERVAL = 500; //check every .5 seconds
const CHECK_MAX_ITERATIONS = 120; //check for max 60 seconds
//checks that the video isn’t playing
const isVideoPlaying = ( player ) => {
return !!( 0 < player.currentTime() && !player.paused() && !player.ended() && 2 {
if ( !window[ 'videojs' ] || !window[ 'videojs' ].getPlayer( window[ 'TVEPlayer' ] ) ) {
if ( checkCount++ <= CHECK_MAX_ITERATIONS ) { //retry for 60 seconds
setTimeout( checkForPlayer, CHECK_INTERVAL );
}
} else {
//we found the player, now play it
const player = window[ 'videojs' ].getPlayer( window[ 'TVEPlayer' ] );
if ( player && !isVideoPlaying( player ) && 'muted' === player.autoplay() ) {
player.play();
}
}
};
checkForPlayer();
} catch ( e ) {
window.nesn_debug && console.warn( 'Error trying to force autoplay of video', e ); // eslint-disable-line no-console
}
} )();
When Triston Casas is going, the Boston Red Sox know just how special he can be at the plate.
Looking to end an injury-riddled season strong, Casas slugged three home runs to lead the Red Sox to an 8-1 victory in Game 1 of a day-night doubleheader at Fenway Park. Boston finished the sweep of the day in the evening with a 9-3 win in Game 2 against the Minnesota Twins.
The Red Sox slugger drove in seven of Boston’s eight runs in the contest to offer his most dominant day of the season.
“Just a really humble approach today,” Casas told NESN’s Jahmai Webster postgame. “Came up with two outs and a guy in scoring position the first time. Just tried to put the ball in play. Tried to stay out of the double play the second time. Then, trying to see a pitch for Vaughn (Grissom) behind me that third time. He put a fastball where he probably didn’t want to. I was able to capitalize on some mistakes. Felt good to drive in some runs to get a win.”
Casas and the Red Sox embark on their final road trip Monday when they kick off a three-game series against the American League East rival Toronto Blue Jays.