o2-vrm-plugin
AOL VRM plugin.
Documentation
Jsdoc documentation for public sdk
Install
npm install --save o2-vrm-plugin
Usage
Embed the script from ./node_modules/o2-vrm-plugin/dist/sdk.js
This will create a variable inside browsers window object - window.oath
As an options you can use version from CDN but this may create redundant HTTP request to sdk.js which would be embedded with your code otherwise.
// {HTMLElement} - video tagvar video = windowdocument0; // {HTMLElement} - slot containervar slot = windowdocument;var adManager; { adManager; console} { console} { console} { console} { console} { console} { console} { adManager = manager; // Bind listeners to ad manager events adManager; adManager; adManager; adManager; adManager; adManager; adManager; // Start loading ads adManager;} oathadssdk;
Click here for more info on createManager call.