Can we configure the iFrame to only show decimal and HK odds format?
There is an option when you call the init script; you just specify the odds formats you would like to offer for a particular user. Example:
supportedOddsFormats: ["DECIMAL", "HONG_KONG"]
An example of the iFrame initialization:
<script type="text/javascript">
window["OddinConfig"] = {
token: "user_auth_token",
brandToken: "your_brandToken",
baseUrl: "https://www.yourpage.com",
language: "vi",
currency: "VND",
supportedOddsFormats: ["DECIMAL", "HONG_KONG"],
height: ".header",
contentElement: "#bifrost",
eventHandler: (e) => {
if (e.type === "REQUEST_REFRESH_BALANCE") {
// call balance refresh
}
},
}
</script>