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
}
} )();
The Red Sox are sliding, but they might be on the verge of gaining a reinforcement who could provide a much-needed spark.
Trevor Story continues to make strides in his recovery from early season shoulder surgery, which was initially expected to sideline the star shortstop for the duration of the campaign. The 31-year-old had his latest rehab outing Monday, and he’s slated to play two more games with Triple-A Worcester this week.
From there, Boston very well could elect to add Story to the active roster.
“There’s a strong chance that Trevor Story will rejoin the Red Sox very soon,” The Boston Globe’s Julian McWilliams wrote in a column published Tuesday. “Story played five innings at shortstop Monday. The team was off Tuesday and he is scheduled to play again Wednesday and Thursday. He is slated to have Friday off and then the team will reassess what they do moving forward. (Alex) Cora added that the team doesn’t necessarily need to see Story play all nine innings before making his return.”
After losing their fourth straight game Tuesday, the Red Sox were fortunate to enter Wednesday only 4 1/2 games back of the final American League wild-card spot. If Boston can stay in the hunt for the rest of Story’s rehab stint, his return could help make the club a real threat to stage a miraculous comeback.
The Red Sox will try to avoid dipping to .500 on Wednesday when they wrap up their three-game series with the Mets. NESN’s coverage of the finale in New York begins at 6 p.m. ET.