Skip to content

Instantly share code, notes, and snippets.

View chrisbekas's full-sized avatar

Chris Bekas chrisbekas

View GitHub Profile
@chrisbekas
chrisbekas / start.xsp
Last active December 7, 2020 08:39
Access the webcam and take photo with XPages using webcam-easy
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.resources>
<xp:script
src="https://unpkg.com/webcam-easy/dist/webcam-easy.min.js" clientSide="true">
</xp:script>
</xp:this.resources>
<xp:panel tagName="video">