Match detail blocks
Each block of the match page embeds on its own, so you pick the blocks and lay out your own match page.
| Attribute | Required | Description |
|---|---|---|
data-sportx-widget="match" | ✓ | Widget type. |
data-match-id | ✓ | Match id, fm_ plus 12 characters: the {id} in links from the live scores. |
data-block | ✓ | Block to show (see below). |
data-locale | vi (default) or en. | |
data-team-url | Team page path on your website, containing {id}. Without it team names are plain text. | |
data-match-url | Match page path containing {id}, for matches in the head-to-head and form blocks, the summary block's details action and the all-odds action. Without it those matches are not linked. | |
data-player-url | Player page path containing {id}. Without it clicking a player opens the stats card in the widget. | |
data-edition-url | Season page path containing {id}. Without it the full standings action is hidden. |
<div
data-sportx-widget="match"
data-match-id="fm_xxxxxxxxxxxx"
data-block="lineups"
data-locale="vi"
data-team-url="/doi-bong/{id}"
></div>
<script type="module" src="https://bbidt.name/widgets/v1/embed.js"></script>Blocks
scoreboardScoreboard →Teams, score, clock, kickoff, venue, referee, table position and form.
summaryMatch summary →Full-time and half-time score, cards, corners, an event timeline and goal scorers.
timelineTimeline →Goals, cards and substitutions by minute, with a key-events filter.
statisticsStatistics →Team statistics by half: possession, shots, corners…
shot-mapShot map →Where each team shot from on the pitch, filtered by outcome: goal, on target, off target, blocked.
lineupsLineups →Formation on the pitch, bench and missing players; click a player for rating and stats.
playersPlayer stats →Each player's match stats: minutes, goals, assists, shots, cards and saves.
standingsStandings →Both teams in the current table, by home/away and first half.
h2hHead to head →Previous meetings, filtered by venue, competition and half.
formForm →Each team's latest matches with win/draw/loss results.
compareTeam comparison →Average red cards, last-20 record, head-to-head record and goals per match for both teams.
season-statsSeason statistics →Both teams' season record before this match, as totals or per-match averages.
oddsOdds →Opening, closing and in-play 1X2, totals and Asian handicap by bookmaker.