English
Appearance
English
Appearance
By default, Kivicube shows a landing-page style UI before the content actually starts, for example:
If your project wants to keep that default experience, just leave the default properties as-is.
The main Web plugin properties related to the landing page are:
hideLogohideTitlehideDownloadhideStartExample:
await kivicubeIframePlugin.openKivicubeScene(iframe, {
sceneId,
hideLogo: true,
hideTitle: true,
});The more common pattern is:
ready or downloadAssetEnd, either show the iframe's real Start Now Button or use advanced APIs to read and adjust its button areaFor example:
iframe.addEventListener('downloadAssetEnd', () => {
hideHostLandingPage();
showIframeLandingPage();
});If you only want to align a host-layer button with the real button inside the iframe instead of hiding it, see getStartButtonRect() / setStartButtonRect() in Start Now Button first.
Good fit for:
Good fit for:
If you plan to customize the landing page, you will often pair it with:
hideLogo: truehideTitle: truehideStart: true is also neededBut note that hideStart affects media autoplay success rate, so use it only if you fully understand the consequences.
If you only want to move the button or overlay a branded button on top, you do not necessarily need hideStart.
The next page covers that in more detail.