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:
<script
type="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.