VideoLab allows your users to get rewarded for watching videos and content 24/7.
Each 10-15 minutes being watched rewards your user once, at which point - a new session start automatically.
Currently, VideoLab is only available for users from United States. We advice not to display it to users from other countries.
For further details, please contact your account manager.
The OfferToro SDK gives a possibility to be notified of events happening in the VideoLab lifecycle via delegate OfferToroDelegate.
[OfferToro sharedInstance].delegate = YOUR_DELEGATE
OfferToro.sharedInstance()?.delegate = YOUR_DELEGATE
Your delegate will be notified of all possible events listed below:
- (void)onOTVideolabSessionCreateSuccess:(NSNumber *)completion;
// invoked when VideoLab is successfully initialized and the user has successfully created a VideoLab session. The completion is a number between 0 and 100 indicating last saved point in previous session
// invoked when user failed to create a VideoLab session
- (void)onOTVideolabSessionFulfill:(NSNumber *)completion;
// notify how far the user is from completion
// invoked when a user successfully completed one Videolab session, and should be rewarded
- (void)onOTVideolabFatalError:(NSError *)error;
// invoked when Videolab encounters a fatal error
- (void)onOTVideolabLog:(NSString *)message;
// invoked to notify Videolab events
The VideoLab module should be initialized on the application launch.
[[OfferToro sharedInstance] initVLWithAppId:APP_ID userId:USER_ID secretKey:SECRET_KEY];
OfferToro.sharedInstance()?.initVL(withAppId: APP_ID, userId: USER_ID, secretKey: SECRET_KEY)
To present the VideoLab content,the presentVLInViewController method should be called:
[[OfferToro sharedInstance] presentVLInViewController:VIEW_CONTROLLER animation:YES];
OfferToro.sharedInstance()?.presentVL(inViewController: VIEW_CONTROLLER, animation: true)
OfferToro SDK supports two ways to reward your users. Those are:
To get notified on VideoLab session completions, use the onOTVideolabSessionCompleted delegate as explained in section 1.
Server to Server postbacks is a more secured way to receive notifications, in order to rewarded your users.
To receive Server to Server postbacks, you must define your postback URL in your App Placement under your OfferToro account
For more information - Please check this page: