SPBO Live Score Free Embed V2.1
Choose the version below to display real-time live scores on your website.
🖥️ Desktop Version (PC)
<iframe id="spboscoreiframe" src="https://bf.spbo.com/en.htm" title="SPBO Live Score" scrolling="no" frameborder="0" allow="autoplay" style="width: 100%; height: 1000px; border: 0; display: block;"> </iframe> <script> (function() { var requestAnimFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) { window.setTimeout(callback, 20); }; var iframe = document.getElementById('spboscoreiframe'); var currentHeight = 0; var updateScheduled = false; function onMessage(e) { if (typeof e.data === 'string' && e.data.indexOf("SPBO_H:") === 0) { var h = parseInt(e.data.substring(7), 10); if (h && h !== currentHeight) { if (!updateScheduled) { updateScheduled = true; requestAnimFrame(function() { iframe.style.height = h + 'px'; currentHeight = h; updateScheduled = false; });}}}} if (window.addEventListener) { window.addEventListener('message', onMessage, false); } else if (window.attachEvent) { window.attachEvent('onmessage', onMessage); } })(); </script>
Copy Desktop Code
📱 Mobile Version
<iframe id="spboscoreiframe" src="https://bf.spbo.com/en3g.htm" title="SPBO Live Score" scrolling="no" frameborder="0" allow="autoplay" style="width: 100%; height: 1000px; border: 0; display: block;"> </iframe> <script> (function() { var requestAnimFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) { window.setTimeout(callback, 20); }; var iframe = document.getElementById('spboscoreiframe'); var currentHeight = 0; var updateScheduled = false; function onMessage(e) { if (typeof e.data === 'string' && e.data.indexOf("SPBO_H:") === 0) { var h = parseInt(e.data.substring(7), 10); if (h && h !== currentHeight) { if (!updateScheduled) { updateScheduled = true; requestAnimFrame(function() { iframe.style.height = h + 'px'; currentHeight = h; updateScheduled = false; });}}}} if (window.addEventListener) { window.addEventListener('message', onMessage, false); } else if (window.attachEvent) { window.attachEvent('onmessage', onMessage); } })(); </script>
Copy Mobile Code