title: implementing quagga scanning barcodes
body: <p>I am making an online scan application just with HTML5 and javascript using Quagga.js.</p>
  
  <p>I need to get the webcam working for searching barcodes and imported quagga.js :</p>
  
  
  
  <p>On the web page of quagga you'll find a method called Quagga.init. to initialize the webcam view. 
  I entered in the script tags this code :</p>
  
  <pre><code>Quagga.init({
      inputStream : {
        name : "Live",
        type : "LiveStream"
      },
      decoder : {
        readers : ["code_128_reader"]
      }
    }, function() {
        console.log("Initialization finished. Ready to start");
        Quagga.start();
    });
  </code></pre>
  
  <p>But nothing happened. 
  What do I need to do to get this webcam working? 
  Any other opinions to create a web-based application for scanning barcodes ? </p>
  
  <p>Thank you for answering ! </p>