videomail-client
Version:
A wicked npm package to record videos directly in the browser, wohooo!
30 lines (28 loc) • 1.29 kB
HTML
<html>
<head>
<title>videomail-client examples</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<h1>With an invalid site name, you don't get whitelisted</h1>
<p>By default the site name is "videomail-client-demo" which works on localhost only. To run the videomail client on your site, you'll have to register it <a href="https://www.videomail.io/whitelist">here</a> to obtain a valid site name.</p>
<div id="videomail"></div>
<script src="/js/videomail-client.js"></script>
<script>
var videomailClient = new VideomailClient({
// here you should enter your site name.
// if you do not have one, register it first here:
// www.videomail.io/whitelist
// the default one is "videomail-client-demo" which
// only works locally on localhost. hence if you run
// on your site, you'll have to register it first. then
// we will give you a new site name to use here.
siteName: 'invalid-site-name',
verbose: true,
disableSubmit: true
})
videomailClient.show()
</script>
</body>
</html>