Skip to main content
Logo
Explore APIsContact Us
  • Home
  • Match Preview
  • Tournament Preview
  • Virtual Stadium
  1. Resources
  2. Widgets
  3. LMT Compact

LMT Compact

LMT Compact (Live Match Tracker Compact) is a streamlined, compact match visualization widget that provides continuous live match coverage with real-time match events in a fixed position that remains visible during page scrolling. The widget automatically handles match status changes, animates significant events like goals and cards. Designed for sports betting platforms and media sites that need unobtrusive yet informative live match tracking, LMT Compact maximizes screen real estate efficiency while delivering match data through an elegant, always-visible interface that keeps users connected to live action without interrupting their browsing experience.

LMT Compact Soccer

LMT Compact Soccer

LMT Compact Basketball

LMT Compact Basketball

LMT Compact Table Tennis

LMT Compact Table Tennis

LMT Compact Snooker

LMT Compact Snooker

See the LMT Compact widget demo.

#Main Configurable Features

Illustrations of main feature variants with relevant property values below.

Shows the default view of the LMT Compact widget.

Default View

Sample configuration:

  • matchId: string|number

See LMT Compact widget demo

#API Reference

#Required Parameters

  • widget-name: match.lmtCompact
  • matchId: The unique identifier for the match is the only required parameter. See Getting Identifiers

Environment Requirements

Supported Browsers

BrowserVersionMobile Support
Chrome60+✅ Chrome Mobile 60+
Firefox55+✅ Firefox Mobile 55+
Safari12+✅ iOS Safari 12+
Edge79+✅ Edge Mobile 79+
Internet ExplorerAll versions❌ Not Supported

Technical Requirements:

  • JavaScript enabled
  • XMLHttpRequest support for data fetching
  • CSS3 support for styling and animations

Supported Sports

The LMT Compact widget supports the following sports:

  • American Football NFL only (including NCAA)
  • Badminton
  • Baseball & MLB
  • Basketball & NBA (including NCAA)
  • Beach Volleyball
  • Darts
  • Futsal
  • Handball
  • Ice Hockey & NHL
  • Kabaddi
  • Padel
  • Rugby (League & Union)
  • Snooker
  • Soccer
  • Squash
  • Table Tennis
  • Tennis
  • Volleyball
PropertyTypeDefaultDescription
matchIdnumberRequiredThe unique identifier for the match.

See Getting Identifiers
disablePitchNoisebooleanfalseWhen true, removes noise texture from pitch surface
disablePitchStripesbooleanfalseWhen true, removes grass stripes or field markings
disablePitchOverlaybooleanfalseWhen true, hides graphical overlays on pitch
disablePitchSpotlightsbooleanfalseWhen true, removes spotlight effects from pitch
pitchBgImagestring-Custom background image URL for pitch. Overrides default pitch surface
pitchCustomBgColorstring-Custom pitch background color (hex/rgb). Example: "#1a5f3e"
pitchBrandBgColorbooleanfalseWhen true, uses customBrandColor as pitch background
customBrandColorstring-Primary brand color for accents and theming (hex/rgb)
pitchLightStylebooleanfalseWhen true, uses light-colored pitch theme with reduced contrast
pitchLogostring-URL of logo to display on pitch surface
pitchLogoForceCenterbooleanfalseWhen true, positiones the pitch logo to the center of the pitch for basketball, tennis, ice hockey, handball, snooker, kabbadi, volleyball, beach volleyball and badminton.
logoarraySee Logo imagesArray of urls to branding logos, which appear in overlay carousel and in ball possession banner during live match. Accepts up to 3 images.
logoLinkstring-URL destination when logo is clicked
disablePitchTeamColorsbooleanfalseWhen true, uses neutral colors instead of team colors on pitch. Applies only to American Football.
possessionOverlayTeamColoredbooleanfalseWhen true, colors possession overlays with team colors

#Logo Images

Array of URLs to logos accepts up to 3 images, for 3 responsive breakpoints, starting with the image for largest size. If only 1 or 2 images are provided, the last image is used for the remaining smaller brekpoints. Overlay carousel uses uses only 1st and 3rd image (or 2nd, if 3rd is not provided). Image fills the banner height or 25% of banner width, while maintaining image aspect ratio (like CSS background-size: contain), but not beyond image's natural dimensions.

#Integration Examples

#Property Name Transformations

Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:

JavaScript/Programmatic Integration

  • Property names remain unchanged in camelCase
  • Properties become members of the 4th parameter object in SIR() call
  • Example: cardVariant: "compact"
info

In javascript integration, the properties go into an object which is passed as the 4th argument of the call ti SIR() function. Please see Global SIR API

HTML/Declarative Integration

  • Convert camelCase to lowercase with dashes, e.g. cardVariant becomes card-variant
  • Add data-sr- prefix
  • Example: cardVariant → data-sr-card-variant
  • Example: filters.sport.hidden → Complex objects must be passed as JSON strings
info

In HTML integration, the properties go into the parent HTML object as object properties, prefixed with data-sr- as explained above.

Only base property support

This method supports only simple (base) properties and does not support properties that require functions.

info

In all examples replace sportradar in the widgetloader URL path with your clientId.

Example if your clientId is client1:

  • This URL: https://widgets.sir.sportradar.com/sportradar/widgetloader
  • becomes: https://widgets.sir.sportradar.com/client1/widgetloader

JavaScript (Programmatic)

Initialize the widget programmatically using the JavaScript API. The widget renders in the specified container element.

js
(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.lmtCompact', {
    matchId: 123
});
html
<div id="sr-widget"></div>

HTML (Declarative)

Insert the following HTML code at the target widget location. Complex object properties must be passed as JSON-encoded strings.

html
<div id="sr-widget"
        data-sr-widget="match.lmtCompact"
        data-sr-match-id="123">
</div>
<script type="application/javascript"
        src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
        async>
</script>
Last updated 11 days ago
Is this site helpful?
Widgets, Engagement Tools
LMT GolfMatch Preview
On this page
  • Main Configurable Features
  • API Reference
  • Required Parameters
  • Logo Images
  • Integration Examples
  • Property Name Transformations