Files
@ 2a720bd46bb4
Branch filter:
Location: symposion_app/pinaxcon/templates/test.html - annotation
2a720bd46bb4
807 B
text/html
Tickets for LCA2021
Disable lots of inventory that does not exist for a virtual conf.
Add Swag Badge category and product.
Adjust attendee profile to hide irrelevant questions.
Disable lots of inventory that does not exist for a virtual conf.
Add Swag Badge category and product.
Adjust attendee profile to hide irrelevant questions.
c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 c09b926b87f3 | {% load static %}
<!DOCTYPE html5>
<meta charset="utf-8"/>
<head>
<script type="text/javascript" src="{% static 'js/instascan.min.js' %}"></script>
</head>
<body>
<video id="preview" autoplay style="width: 500px; height: 500px; border: 1px solid green;"></video>
<script type="text/javascript">
let scanner = new Instascan.Scanner({ video: document.getElementById('preview') });
scanner.addListener('scan', function (content) {
// This should ensure we start with the lca base domain!
window.location.href = content;
});
function startCamera(cameras) { scanner.start(cameras[0]); }
function errorCamera(error) { console.error(e); }
Instascan.Camera.getCameras().then(startCamera).catch(errorCamera);
</script>
</body>
|