Betting Entertainment Tools

Game Pulse Widget

A match.gamePulse that shows the 'pulse' of the game. The higher the pulse the more likely a goal might be scored soon.

Parameters
Name Type Attributes Default Description
props object <required>
matchId string <required>

Sportradar match ID.

iconVersion number 1

Selects the icon type for the team game pulse. Possible options are 1, 2 or 3.

iconSet Object

Used to set custom match pulse icons. Value for each icon should contain URL pointing to the desired icon.

All 5 icons have to be provided using the following pattern:

iconSet: {
    veryLow: 'URL_to_your_image_file',
    low: 'URL_to_your_image_file',
    medium: 'URL_to_your_image_file',
    high: 'URL_to_your_image_file',
    veryHigh: 'URL_to_your_image_file'
};
Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="match.gamePulse" data-sr-match-id="21514521"></div>
<script type="application/javascript" src="https://widgets.sir.sportradar.com/sportradar/widgetloader" async></script>

JS/Programmatic

<script>
    (function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
    g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
    )})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
        language: 'en'
    });
    SIR('addWidget', '#sr-widget', 'match.gamePulse', {matchId: 21514521});
</script>
<div id="sr-widget"></div>