Fixed react example

This commit is contained in:
Christoph Oberhofer
2016-06-19 17:43:48 +02:00
parent 45331c0d8e
commit 308544c0dd
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default class Scanner extends React.Component {
this._scanner = Quagga
.decoder({readers: ['ean_reader']})
.locator({patchSize: 'medium'})
.fromVideo({
.fromSource({
target: '.overlay__content',
constraints: {
width: 800,