> ## Documentation Index
> Fetch the complete documentation index at: https://developer.onetrust.com/llms.txt
> Use this file to discover all available pages before exploring further.

# HTML5 SDK - Tizen and WebOS (Legacy)

> 📘
>
> To benefit from an enhanced experience, see our next generation [HTML5 SDK](https://developer.onetrust.com/onetrust/docs/tizen-and-webos-sdk-new). For more information, see [OneTrust Next Generation CMP SDKs](https://developer.onetrust.com/onetrust/docs/onetrusts-next-generation-cmp-sdks).
>
> This documentation supports the legacy HTML5 SDK (<202504.1.0).

## Supported Platforms

[block:html]
{
  "html": "<div class=\"SDKWrapper\">\n    <div class=\"SDKCard\">\n        <a class=\"ProductCard_card\">\n            <svg role=\"img\" viewBox=\"0 4 24 15\"\n                xmlns=\"http://www.w3.org/2000/svg\">\n                <title>Samsung</title>\n                <path fill=\"#1428A0\" d=\"M19.8166 10.2808l.0459 2.6934h-.023l-.7793-2.6934h-1.2837v3.3925h.8481l-.0458-2.785h.023l.8366 2.785h1.2264v-3.3925zm-16.149 0l-.6418 3.427h.9284l.4699-3.1175h.0229l.4585 3.1174h.9169l-.6304-3.4269zm5.1805 0l-.424 2.6132h-.023l-.424-2.6132H6.5788l-.0688 3.427h.8596l.023-3.0832h.0114l.573 3.0831h.8711l.5731-3.083h.023l.0228 3.083h.8596l-.0802-3.4269zm-7.2664 2.4527c.0343.0802.0229.1949.0114.2522-.0229.1146-.1031.2292-.3324.2292-.2177 0-.3438-.126-.3438-.3095v-.3323H0v.2636c0 .7679.6074.9971 1.2493.9971.6189 0 1.1346-.2178 1.2149-.7794.0458-.298.0114-.4928 0-.5616-.1605-.722-1.467-.9283-1.5588-1.3295-.0114-.0688-.0114-.1375 0-.1834.023-.1146.1032-.2292.3095-.2292.2063 0 .321.126.321.3095v.2063h.8595v-.2407c0-.745-.6762-.8596-1.1576-.8596-.6074 0-1.1117.2063-1.2034.7564-.023.149-.0344.2866.0114.4585.1376.7106 1.364.9169 1.5358 1.3524m11.152 0c.0343.0803.0228.1834.0114.2522-.023.1146-.1032.2292-.3324.2292-.2178 0-.3438-.126-.3438-.3095v-.3323h-.917v.2636c0 .7564.596.9857 1.2379.9857.6189 0 1.1232-.2063 1.2034-.7794.0459-.298.0115-.4814 0-.5616-.1375-.7106-1.4327-.9284-1.5243-1.318-.0115-.0688-.0115-.1376 0-.1835.0229-.1146.1031-.2292.3094-.2292.1948 0 .321.126.321.3095v.2063h.848v-.2407c0-.745-.6647-.8596-1.146-.8596-.6075 0-1.1004.1948-1.192.7564-.023.149-.023.2866.0114.4585.1376.7106 1.341.9054 1.513 1.3524m2.8882.4585c.2407 0 .3094-.1605.3323-.2522.0115-.0343.0115-.0917.0115-.126v-2.533h.871v2.4642c0 .0688 0 .1948-.0114.2292-.0573.6419-.5616.8482-1.192.8482-.6303 0-1.1346-.2063-1.192-.8482 0-.0344-.0114-.1604-.0114-.2292v-2.4642h.871v2.533c0 .0458 0 .0916.0115.126 0 .0917.0688.2522.3095.2522m7.1518-.0344c.2522 0 .3324-.1605.3553-.2522.0115-.0343.0115-.0917.0115-.126v-.4929h-.3553v-.5043H24v.917c0 .0687 0 .1145-.0115.2292-.0573.6303-.596.8481-1.2034.8481-.6075 0-1.1461-.2178-1.2034-.8481-.0115-.1147-.0115-.1605-.0115-.2293v-1.444c0-.0574.0115-.172.0115-.2293.0802-.6419.596-.8482 1.2034-.8482s1.1347.2063 1.2034.8482c.0115.1031.0115.2292.0115.2292v.1146h-.8596v-.1948s0-.0803-.0115-.1261c-.0114-.0802-.0802-.2521-.3438-.2521-.2521 0-.321.1604-.3438.2521-.0115.0458-.0115.1032-.0115.1605v1.5702c0 .0458 0 .0916.0115.126 0 .0917.0917.2522.3323.2522\"/>\n            </svg>\n            <div class=\"ProductCard_text\">\n                <h4 class=\"ProductCard_productCardTitle\">Samsung</h4>\n            </div>\n        </a>\n    </div>  \n    <div class=\"SDKCard\">\n        <a class=\"ProductCard_card\">\n            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 225 99\" fill=\"none\">\n                <title>LG</title>\n                <g clip-path=\"url(#clip0_415_130964)\">\n                    <path d=\"M134.874 68.7831H165.274V81.2487H120.202V17.2373H134.874V68.7831Z\" fill=\"#707070\"/>\n                    <path d=\"M197.534 56.8451H209.482V68.0462C207.288 68.8892 202.987 69.7323 198.905 69.7323C185.694 69.7323 181.301 62.9711 181.301 49.241C181.301 36.1374 185.483 28.4265 198.682 28.4265C206.039 28.4265 210.213 30.7533 213.675 35.1904L222.802 26.7376C217.227 18.726 207.5 16.2981 198.365 16.2981C177.83 16.2897 167.033 27.5807 167.033 49.1314C167.033 70.5753 176.79 82.2007 198.256 82.2007C208.113 82.2007 217.748 79.6716 222.992 75.9651V44.9078H197.534V56.8451Z\" fill=\"#707070\"/>\n                    <path d=\"M83.831 84.5045C103.008 65.1736 103.007 33.831 83.829 14.499C64.6508 -4.83307 33.5576 -4.83396 14.3805 14.497C-4.79664 33.8279 -4.79576 65.1705 14.3825 84.5025C33.5607 103.835 64.6538 103.835 83.831 84.5045Z\" fill=\"#A50034\"/>\n                    <path d=\"M61.1184 66.6079H51.0826V28.5984H47.3721V70.3594H51.0909V70.3341H61.1268L61.1184 66.6079Z\" fill=\"white\"/>\n                    <path d=\"M86.1485 51.0737H61.1759V47.3447H89.8088C89.8479 48.0669 89.8674 48.7891 89.8674 49.5198C89.8674 71.9725 71.7136 90.1707 49.3252 90.1707C26.9368 90.1707 8.78027 71.9809 8.78027 49.5169C8.78027 27.053 26.9313 8.86597 49.3224 8.86597C49.9134 8.86597 50.5016 8.87814 51.0871 8.9025V12.6034C50.5016 12.5772 49.9153 12.5641 49.328 12.5641C28.9775 12.5641 12.474 29.11 12.474 49.5169C12.474 69.9239 28.9747 86.4726 49.328 86.4726C69.121 86.4726 85.2899 70.8175 86.1457 51.1777L86.1485 51.0737Z\" fill=\"white\"/>\n                    <path d=\"M34.2066 39.8496C35.3263 39.8441 36.4193 39.5043 37.3476 38.8732C38.276 38.2421 38.9981 37.3479 39.4227 36.3036C39.8474 35.2592 39.9557 34.1114 39.7339 33.005C39.5121 31.8987 38.9701 30.8834 38.1764 30.0872C37.3827 29.2911 36.3728 28.7497 35.2742 28.5316C34.1756 28.3134 33.0374 28.4282 32.0035 28.8614C30.9695 29.2946 30.086 30.0268 29.4645 30.9657C28.8429 31.9046 28.5112 33.008 28.5112 34.1367C28.5131 34.8888 28.6618 35.6331 28.949 36.3273C29.2362 37.0214 29.6563 37.6517 30.1851 38.1822C30.714 38.7127 31.3413 39.133 32.0313 39.4191C32.7213 39.7052 33.4605 39.8515 34.2066 39.8496Z\" fill=\"white\"/>\n                </g>\n                <defs>\n                    <clipPath id=\"clip0_415_130964\">\n                        <rect width=\"223\" height=\"99\" fill=\"white\"/>\n                    </clipPath>\n                </defs>\n            </svg>\n            <div class=\"ProductCard_text\">\n                <h4 class=\"ProductCard_productCardTitle\">LG TV</h4>\n            </div>\n        </a>\n    </div>\n</div>"
}
[/block]

The CTV SDK only supports Chromium devices on Tizen and LG platforms.

[block:parameters]
{
  "data": {
    "h-0": "Manufacturer",
    "h-1": "Model",
    "0-0": "Samsung",
    "0-1": "2022 - Tizen 6.5 - Chromium  \n2021 - Tizen 6.0 - Chromium  \n2020 -Tizen 5.5 - Chromium  \n2019 - Tizen 5.0 - Chromium  \n2018 - Tizen 4.0 - Chromium",
    "1-0": "LG",
    "1-1": "2022 - webOS TV 22 - Chromium 87  \n2021 - webOS TV 6.0 - Chromium 79  \n2020 - webOS TV 5.0 - Chromium 68"
  },
  "cols": 2,
  "rows": 2,
  "align": [
    "left",
    "left"
  ]
}
[/block]

## Prerequisites

* Tizen Studio
* WebOS TV CLI
* WebOS TV Emulator
* VirtualBox

## Tech Stack Overview

| Specifications                                                                | Details          |
| ----------------------------------------------------------------------------- | ---------------- |
| **Language Version**                                                          | Javascript (ES5) |
| **Desktop OS**                                                                | Windows, Mac     |
| **Build Dependencies**                                                        | N/A              |
| **Compression Tools**                                                         | Webpack          |
| **External Dependencies, 3rd Party Frameworks, and SDK Libraries/Components** | Redux, RxJS      |
| **Encryption**                                                                | N/A              |

## SDK Size

| Files       | Uncompressed File Size |
| :---------- | :--------------------- |
| OneTrust.js | 1.9 MB                 |

## Frequently Asked Questions (FAQ)

The following responses are supported solutions to frequently asked questions (FAQ) about the Tizen and WebOS SDK. The OneTrust team continuously monitors these inquiries and will make additional FAQ available as they are identified.

1. **Why is the build time taking two minutes in Tizen Studio?**\
   The SDK is written in TypeScript and requires extra time for webpack to compress the files containing the UI and business logic.  The output is an ES5 compatible SDK which causes Tizen Studio to take longer to render the SDK.  Generally, this only happens on the very first build and on builds that are being updated to a new version.\
   **Legacy Tizen SDK**\
   If your app has implemented the legacy Tizen SDK before migrating to the new CTV SDK, the banner may not appear as the CTV SDK will look for any cached consent data from the legacy SDK. To resolve this, please fully remove the legacy SDK and delete any cached data.