Sha256: bf02304717dd872900baeb1db71b64e82ee74bd3778170563fd3308400516a84

Contents?: true

Size: 718 Bytes

Versions: 47

Compression:

Stored size: 718 Bytes

Contents

webshim.register("mediacapture-picker",function(a,b){"use strict";function c(a){this.$dom=a,this._createDom(),this.requestMedia()}c.prototype={_createDom:function(){this.$dom.html('<div class="ws-videocapture-view"><video class="ws-usermedia ws-inlineusermedia" autoplay=""></video><div class="ws-video-overlay"></div></div><div class="button-row"><button type="button" class="ws-capture-button">take</button></div>')},requestMedia:function(){var b=this;navigator.getUserMedia({video:{minWidth:200,audio:!1}},function(c){b.stream=c,a("video",b.$dom).prop("src",URL.createObjectURL(c))},function(){}),a("video",b.$dom).removeClass("ws-usermedia")}},b.mediacapture.showContent=function(a,b,d){new c(d.contentElement)}});

Version data entries

47 entries across 26 versions & 2 rubygems

Version Path
sequenceserver-1.0.0.pre.4 public/dist/js/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.4 public/js/webshims/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.3 public/js/webshims/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.3 public/dist/js/webshims/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.3 public/dist/js/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.2 public/js/webshims/shims/mediacapture-picker.js
sequenceserver-1.0.0.pre.1 public/js/webshims/shims/mediacapture-picker.js