Video SDK
Integrate token gated video directly into your custom site!
Use Case Example
How It Works
yarn add @mintgate/mintgate-js
OR
npm install @mintgate/mintgate-jsconst linkID = 'whateveryourmintgatelinkIDforthevideois';
function App() {
const ref = useRef();
useEffect(()=> {
if(!ref) return;
mintgate.embedVideo(linkID, ref.current)
.then(x=>console.log('done'));
}, [ref]);
return (
<div ref={ref}></div>
);
}Link to NPM Package (and More Details)
Last updated