Sim-Play ATP Legend / Tennis Integration Example
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>VTI Video Live Match Tracker Demo</title>
<link rel="stylesheet" type="text/css" href="theme.css">
<style>
body {
display: flex;
justify-content: center;
}
.widgets {
max-width: 620px;
width: 100%;
}
.sr-widget {
border: rgba(0, 0, 0, 0.12) solid 1px;
margin-bottom: 24px;
}
.sr-widget-title {
font-weight: bold;
padding-bottom: 4px;
}
</style>
</head>
<body>
<!--
JS/Programmatic
Provide the virtualClientId as a parameter in the addWidget call
-->
<div class="widgets"></div>
<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/{clientstoreID}/widgetloader", "SIR", {
theme: false, // using custom theme
language: "en" // other languages are available like en, fr, de, pl, ...
});
SIR("addWidget", ".sr-widget-1", "match.lmtPlus", {
layout: "topdown",
matchId: "vti:match:<matchID>",
virtualClientId: "<clientID>"
});
</script>
</body>
</html>Required Parameters
Parameter
Description
Differences between Live Tennis and Sim-Play ATP / Sim-Play Tennis
Last updated
Was this helpful?