AppLixir Events
This article is being consolidated. AppLixir event handling is now documented inline with each platform's integration guide.
Overview — HTML5 Integration
This article is being consolidated. The HTML5 integration walkthrough now lives in the step-by-step guides below.
Step 1: Overview & Registration
Welcome to the AppLixir family! Now that your account is validated, you are officially in the "Fast-Track" lane. You don’t need to wait for site approval to start integrating AppLixir —you can have ads running in your test environment immediately.
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.
Step 3: Initializing Video Ad
There are two ways to initialize the video ad player in your HTML5 game. You can either use the Application class or the initializeAndOpenPlayer function. Both methods achieve the same result, so you can choose the one that fits your needs best. For simpler approach, you can use the initializeAndOpenPlayer function. However, if you need more control over the player, you can use the Application class.
Step 4: Setting up Local Callback
The Applixir Video platform provides a local callback that sends events with status of the various actions and errors that occur while a video is being played.
Step 5: Setting up Web Callback
Here’s how you can test the callback integration:
Step 6: Updating Ads.txt
Ads.txt, which stands for Authorized Digital Sellers, is a simple, flexible, and secure method that publishers and distributors use to publicly declare the companies authorized to sell their digital inventory. We require that you include our ads.txt information on your site
Step 7: Testing & Launching
Please note that you can use your API key for testing purposes. Once your Site is approved you can use the same API key for production as well.