javascript - Not working on firefox -


can body me find out, why link(webrtc example) http://goo.gl/pnmsii not working on firefox? it's working fine on chrome & opera not on firefox.

i've planned build 1 photo capturing tool webcam, got stuck now.

function validate(evt) {       var theevent = evt || window.event;       var key = theevent.keycode || theevent.which;       key = string.fromcharcode( key );       var regex = /[0-9a-fa-f]|\./;       if( !regex.test(key) ) {         theevent.returnvalue = false;         if(theevent.preventdefault) theevent.preventdefault();       }  }  

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -