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
}
} )();
BOSTON — The Red Sox ended Rafael Devers’ season Saturday.
Devers was placed on the injured list with left shoulder inflammation, which will keep him off the active roster for the remainder of the regular season. The Red Sox recalled catcher/infielder Mickey Gasper from Triple-A Worcester with the added roster spot.
Devers slashed an incredibly impressive .272/.354/.516 with 28 home runs and 83 RBI in 138 games — dealing with shoulder issues for nearly the entirety of the campaign. Boston really saw the issues pick up over the final month of the season, as the 27-year-old tweaked his injury diving for a ball against the Colorado Rockies immediately after the All-Star break.
Gasper, 28, has played in 10 games for Boston this season after making his big league debut. He hasn’t recorded a hit to the point of his latest recall.
Devers posted a .205/.295/.329 line in his final 42 games.
“I think overall, injuries aside, he was one of the best hitters, if not the best hitter in the big leagues for two and a half months and it was fun to see,” Red Sox manager Alex Cora said Saturday. “I know the numbers are the numbers defensively, but he made some improvements in certain areas… I’m disappointed because he’s basically our offense. He is the guy. The last month it’s been hard to watch.”