Skip to main content
Integration for HTML5 Sites/Apps Updated 10 months ago

Step 2: Adding an Anchor

The AppLixir Anchor is essential for integrating Reward Videos correctly in your game. This ensures the video ad player displays correctly within your game and doesn’t interfere with your UI. The Anchor will seamlessly connect your game to the AppLixir codebase hosted on our CDN, without affecting your app’s design or layout.

<div id="some-id"></div> // This is where the player will be loaded

Next, include the following script in your Sites's HTML body to load the Applixir library:

<scripttype="text/javascript"src="https://cdn.applixir.com/applixir.app.v6.0.1.js"></script>

In Step 3, you'll initialize and trigger the video player within your HTML5 site. This step connects the video functionality to your game, ensuring that ads play seamlessly when invoked.

Next Step: >>  Initialize and Invoke the video

Was this article helpful?
Your feedback shapes what we write next.
Still need help?
Our team responds to publishers within 1 business day.
Contact support →