Original source (on modern site) | Article images: [1]
Toronto Raptors' Immanuel Quickley (5) and RJ Barrett are seen on the court during first half NBA basketball action against the Cleveland Cavaliers, in Toronto, Monday, Jan. 1, 2024. (Chris Young/CP) | March 26, 2024, 1:32 PM We use cookies to improve your experience. or change your cookie preferences. By continuing to use this site, you agree to the use of cookies. ' );
$( ".audio-player .mejs-playpause-button" ).after( ' ' );
$( ".mejs-seek-back" ).on( "click", function() {
var audio = $( this ).parents('.mejs-inner').find('audio')[0];
audio.currentTime -= 30;
} );
$( ".mejs-seek-forward" ).on( "click", function() {
var audio = $( this ).parents('.mejs-inner').find('audio')[0];
audio.currentTime += 30;
} );
$('.share-button').on( "click", function() {
if ( navigator.share && ( SN.isMobile || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) ) {
navigator.share({
title: 'Sportsnet',
url: ''
});
} else {
$( this ).siblings('.share-dialog').toggleClass( "is-open" );
}
});
}
function loadMisclFncs() {
$( ".daac-close" ).on( "click", function() {
var now = new Date();
var year = now.getFullYear();
var expireYear = year + 3;
now.setYear(expireYear);
document.cookie = 'rdm_daac=1; expires='+ now.toGMTString()+ "; path=/; SameSite=Strict";
$('.rdm-daac-notice-template').hide();
});
if ( document.cookie.indexOf('rdm_daac') === -1 ) {
$('.rdm-daac-notice-template').show();
}
}
setTimeout(loadRadioShortcodes, 1000);
setTimeout(loadRadioButtons, 4000);
setTimeout(loadMisclFncs, 5000);
if(!personalization_modal_data||typeof personalization_modal_data == 'undefined') {
var personalization_modal_data = {};
personalization_modal_data.api_url = 'https://staging-preferences.sportsnet.ca';
}