We highly recommend you use the sdk.listenlive.co endpoint by default when embedding the JavaScript SDK in your player web page. This endpoint is hosted on Amazon Cloudfront CDN.
https://sdk.listenlive.co/web/2.9/td-sdk.min.js
However, for customers in Europe and Asia, using the playerServicesRegion setting when initializing the Player SDK might provide better loading performance:
//Player configuration: list of modules
var tdPlayerConfig = {
coreModules: [{
id: 'MediaPlayer',
playerId: 'td_container'
}],
playerReady: onPlayerReady,
configurationError: onConfigurationError,
moduleError: onModuleError,
adBlockerDetected: onAdBlockerDetected,
playerServicesRegion: "eu" //"eu" for Europe, "ap" for Asia, blank defaults to North America
};