videomail-client 9.3.3 → 9.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -73,11 +73,11 @@ module.exports = toPropertyKey, module.exports.__esModule = true, module.exports
|
|
|
73
73
|
function _typeof(o) {
|
|
74
74
|
"@babel/helpers - typeof";
|
|
75
75
|
|
|
76
|
-
return
|
|
76
|
+
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
77
77
|
return typeof o;
|
|
78
78
|
} : function (o) {
|
|
79
79
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
80
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports
|
|
80
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
81
81
|
}
|
|
82
82
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
83
83
|
},{}],11:[function(_dereq_,module,exports){
|
|
@@ -657,11 +657,11 @@ Date.now = Date.now || function now() {
|
|
|
657
657
|
return new Date().getTime();
|
|
658
658
|
};
|
|
659
659
|
|
|
660
|
-
},{"events":44,"inherits":66,"raf":
|
|
660
|
+
},{"events":44,"inherits":66,"raf":81}],14:[function(_dereq_,module,exports){
|
|
661
661
|
function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var r=/*#__PURE__*/t(_dereq_("typedarray-to-buffer"));module.exports=/*#__PURE__*/function(){function t(t){this.float32Array=void 0,this.float32Array=t}return t.prototype.toBuffer=function(){var t=new Int16Array(this.float32Array.length);return this.float32Array.forEach(function(r,o){t[o]=32767*Math.min(1,r)}),r.default(t)},t}();
|
|
662
662
|
|
|
663
663
|
|
|
664
|
-
},{"typedarray-to-buffer":
|
|
664
|
+
},{"typedarray-to-buffer":105}],15:[function(_dereq_,module,exports){
|
|
665
665
|
'use strict'
|
|
666
666
|
|
|
667
667
|
exports.byteLength = byteLength
|
|
@@ -2758,11 +2758,11 @@ if ($defineProperty) {
|
|
|
2758
2758
|
module.exports.apply = applyBind;
|
|
2759
2759
|
}
|
|
2760
2760
|
|
|
2761
|
-
},{"es-define-property":36,"es-errors/type":42,"function-bind":49,"get-intrinsic":51,"set-function-length":
|
|
2761
|
+
},{"es-define-property":36,"es-errors/type":42,"function-bind":49,"get-intrinsic":51,"set-function-length":96}],21:[function(_dereq_,module,exports){
|
|
2762
2762
|
function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e,i=/*#__PURE__*/t(_dereq_("typedarray-to-buffer")),r="undefined"!=typeof document&&"function"==typeof document.createElement,n=r?["webp","jpeg"]:["png"],o=/*#__PURE__*/function(){function t(t,e,i){if(void 0===e&&(e=n),void 0===i&&(i=.5),this.quality=void 0,this.types=void 0,this.canvas=void 0,e.length>2)throw new Error("Too many image types are specified!");this.canvas=t,this.quality=i,this.types=e}var o=t.prototype;return o.composeMimeType=function(t){var e;return this.types[t]&&(e="image/"+this.types[t]),e},o.isMatch=function(t,e){return t.match(e)},o.getTestCanvas=function(){var t;return r?(t=document.createElement("canvas")).width=t.height=1:t=this.canvas,t},o.canvasSupportsMimeType=function(t){try{var e=this.getTestCanvas(),i=e.toDataURL&&e.toDataURL(t);return this.isMatch(i,t)}catch(t){return!1}},o.figureMimeType=function(){var t=this.composeMimeType(0);return t&&this.canvasSupportsMimeType(t)||(this.types[1]?(t=this.composeMimeType(1))&&!this.canvasSupportsMimeType(t)&&(t=void 0):t=void 0),t},o.uriToBuffer=function(e){var n,o=e.split(",")[1];if(!o)throw new Error("Empty uri string given!");if(!(n=r?window.atob(o):null==t.atob?void 0:t.atob(o)))throw new Error("Byte are empty, something within atob went wrong.");for(var a=new Uint8Array(n.length),s=0,u=n.length;s<u;s++)a[s]=n.charCodeAt(s);return i.default(a)},o.toBuffer=function(){var t,e=this.getMimeType();if(e){var i=this.canvas.toDataURL(e,this.quality);t=this.uriToBuffer(i)}return t},o.getMimeType=function(){return e&&r||(e=this.figureMimeType()),e},t}();o.atob=void 0,module.exports=o;
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
|
-
},{"typedarray-to-buffer":
|
|
2765
|
+
},{"typedarray-to-buffer":105}],22:[function(_dereq_,module,exports){
|
|
2766
2766
|
// contains, add, remove, toggle
|
|
2767
2767
|
var indexof = _dereq_('indexof')
|
|
2768
2768
|
|
|
@@ -3936,7 +3936,7 @@ var eos = function(stream, opts, callback) {
|
|
|
3936
3936
|
module.exports = eos;
|
|
3937
3937
|
|
|
3938
3938
|
}).call(this)}).call(this,_dereq_('_process'))
|
|
3939
|
-
},{"_process":
|
|
3939
|
+
},{"_process":75,"once":72}],36:[function(_dereq_,module,exports){
|
|
3940
3940
|
'use strict';
|
|
3941
3941
|
|
|
3942
3942
|
var GetIntrinsic = _dereq_('get-intrinsic');
|
|
@@ -8175,438 +8175,19 @@ module.exports = insertCss;
|
|
|
8175
8175
|
module.exports.insertCss = insertCss;
|
|
8176
8176
|
|
|
8177
8177
|
},{}],68:[function(_dereq_,module,exports){
|
|
8178
|
-
/*! npm.im/intervalometer */
|
|
8179
|
-
'use strict';
|
|
8180
|
-
|
|
8181
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
8182
|
-
|
|
8183
|
-
function intervalometer(cb, request, cancel, requestParameter) {
|
|
8184
|
-
var requestId;
|
|
8185
|
-
var previousLoopTime;
|
|
8186
|
-
function loop(now) {
|
|
8187
|
-
// Must be requested before cb() because that might call .stop()
|
|
8188
|
-
requestId = request(loop, requestParameter);
|
|
8189
|
-
|
|
8190
|
-
// Called with "ms since last call". 0 on start()
|
|
8191
|
-
cb(now - (previousLoopTime || now));
|
|
8192
|
-
|
|
8193
|
-
previousLoopTime = now;
|
|
8194
|
-
}
|
|
8195
|
-
|
|
8196
|
-
return {
|
|
8197
|
-
start: function start() {
|
|
8198
|
-
if (!requestId) { // Prevent double starts
|
|
8199
|
-
loop(0);
|
|
8200
|
-
}
|
|
8201
|
-
},
|
|
8202
|
-
stop: function stop() {
|
|
8203
|
-
cancel(requestId);
|
|
8204
|
-
requestId = null;
|
|
8205
|
-
previousLoopTime = 0;
|
|
8206
|
-
}
|
|
8207
|
-
};
|
|
8208
|
-
}
|
|
8209
|
-
|
|
8210
|
-
function frameIntervalometer(cb) {
|
|
8211
|
-
return intervalometer(cb, requestAnimationFrame, cancelAnimationFrame);
|
|
8212
|
-
}
|
|
8213
|
-
|
|
8214
|
-
function timerIntervalometer(cb, delay) {
|
|
8215
|
-
return intervalometer(cb, setTimeout, clearTimeout, delay);
|
|
8216
|
-
}
|
|
8217
|
-
|
|
8218
|
-
exports.intervalometer = intervalometer;
|
|
8219
|
-
exports.frameIntervalometer = frameIntervalometer;
|
|
8220
|
-
exports.timerIntervalometer = timerIntervalometer;
|
|
8221
|
-
},{}],69:[function(_dereq_,module,exports){
|
|
8222
|
-
/*! npm.im/iphone-inline-video 2.2.2 */
|
|
8223
|
-
'use strict';
|
|
8224
|
-
|
|
8225
|
-
var intervalometer = _dereq_('intervalometer');
|
|
8226
|
-
|
|
8227
|
-
function preventEvent(element, eventName, test) {
|
|
8228
|
-
function handler(e) {
|
|
8229
|
-
if (!test || test(element, eventName)) {
|
|
8230
|
-
e.stopImmediatePropagation();
|
|
8231
|
-
// // console.log(eventName, 'prevented on', element);
|
|
8232
|
-
}
|
|
8233
|
-
}
|
|
8234
|
-
element.addEventListener(eventName, handler);
|
|
8235
|
-
|
|
8236
|
-
// Return handler to allow to disable the prevention. Usage:
|
|
8237
|
-
// const preventionHandler = preventEvent(el, 'click');
|
|
8238
|
-
// el.removeEventHandler('click', preventionHandler);
|
|
8239
|
-
return handler;
|
|
8240
|
-
}
|
|
8241
|
-
|
|
8242
|
-
function proxyProperty(object, propertyName, sourceObject, copyFirst) {
|
|
8243
|
-
function get() {
|
|
8244
|
-
return sourceObject[propertyName];
|
|
8245
|
-
}
|
|
8246
|
-
function set(value) {
|
|
8247
|
-
sourceObject[propertyName] = value;
|
|
8248
|
-
}
|
|
8249
|
-
|
|
8250
|
-
if (copyFirst) {
|
|
8251
|
-
set(object[propertyName]);
|
|
8252
|
-
}
|
|
8253
|
-
|
|
8254
|
-
Object.defineProperty(object, propertyName, {get: get, set: set});
|
|
8255
|
-
}
|
|
8256
|
-
|
|
8257
|
-
function proxyEvent(object, eventName, sourceObject) {
|
|
8258
|
-
sourceObject.addEventListener(eventName, function () { return object.dispatchEvent(new Event(eventName)); });
|
|
8259
|
-
}
|
|
8260
|
-
|
|
8261
|
-
function dispatchEventAsync(element, type) {
|
|
8262
|
-
Promise.resolve().then(function () {
|
|
8263
|
-
element.dispatchEvent(new Event(type));
|
|
8264
|
-
});
|
|
8265
|
-
}
|
|
8266
|
-
|
|
8267
|
-
var iOS8or9 = typeof document === 'object' && 'object-fit' in document.head.style && !matchMedia('(-webkit-video-playable-inline)').matches;
|
|
8268
|
-
|
|
8269
|
-
var IIV = 'bfred-it:iphone-inline-video';
|
|
8270
|
-
var IIVEvent = 'bfred-it:iphone-inline-video:event';
|
|
8271
|
-
var IIVPlay = 'bfred-it:iphone-inline-video:nativeplay';
|
|
8272
|
-
var IIVPause = 'bfred-it:iphone-inline-video:nativepause';
|
|
8273
|
-
|
|
8274
|
-
/**
|
|
8275
|
-
* UTILS
|
|
8276
|
-
*/
|
|
8277
|
-
|
|
8278
|
-
function getAudioFromVideo(video) {
|
|
8279
|
-
var audio = new Audio();
|
|
8280
|
-
proxyEvent(video, 'play', audio);
|
|
8281
|
-
proxyEvent(video, 'playing', audio);
|
|
8282
|
-
proxyEvent(video, 'pause', audio);
|
|
8283
|
-
audio.crossOrigin = video.crossOrigin;
|
|
8284
|
-
|
|
8285
|
-
// 'data:' causes audio.networkState > 0
|
|
8286
|
-
// which then allows to keep <audio> in a resumable playing state
|
|
8287
|
-
// i.e. once you set a real src it will keep playing if it was if .play() was called
|
|
8288
|
-
audio.src = video.src || video.currentSrc || 'data:';
|
|
8289
|
-
|
|
8290
|
-
// // if (audio.src === 'data:') {
|
|
8291
|
-
// TODO: wait for video to be selected
|
|
8292
|
-
// // }
|
|
8293
|
-
return audio;
|
|
8294
|
-
}
|
|
8295
|
-
|
|
8296
|
-
var lastRequests = [];
|
|
8297
|
-
var requestIndex = 0;
|
|
8298
|
-
var lastTimeupdateEvent;
|
|
8299
|
-
|
|
8300
|
-
function setTime(video, time, rememberOnly) {
|
|
8301
|
-
// Allow one timeupdate event every 200+ ms
|
|
8302
|
-
if ((lastTimeupdateEvent || 0) + 200 < Date.now()) {
|
|
8303
|
-
video[IIVEvent] = true;
|
|
8304
|
-
lastTimeupdateEvent = Date.now();
|
|
8305
|
-
}
|
|
8306
|
-
if (!rememberOnly) {
|
|
8307
|
-
video.currentTime = time;
|
|
8308
|
-
}
|
|
8309
|
-
lastRequests[++requestIndex % 3] = time * 100 | 0 / 100;
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
|
-
function isPlayerEnded(player) {
|
|
8313
|
-
return player.driver.currentTime >= player.video.duration;
|
|
8314
|
-
}
|
|
8315
|
-
|
|
8316
|
-
function update(timeDiff) {
|
|
8317
|
-
var player = this;
|
|
8318
|
-
// // console.log('update', player.video.readyState, player.video.networkState, player.driver.readyState, player.driver.networkState, player.driver.paused);
|
|
8319
|
-
if (player.video.readyState >= player.video.HAVE_FUTURE_DATA) {
|
|
8320
|
-
if (!player.hasAudio) {
|
|
8321
|
-
player.driver.currentTime = player.video.currentTime + ((timeDiff * player.video.playbackRate) / 1000);
|
|
8322
|
-
if (player.video.loop && isPlayerEnded(player)) {
|
|
8323
|
-
player.driver.currentTime = 0;
|
|
8324
|
-
}
|
|
8325
|
-
}
|
|
8326
|
-
setTime(player.video, player.driver.currentTime);
|
|
8327
|
-
} else if (player.video.networkState === player.video.NETWORK_IDLE && player.video.buffered.length === 0) {
|
|
8328
|
-
// This should happen when the source is available but:
|
|
8329
|
-
// - it's potentially playing (.paused === false)
|
|
8330
|
-
// - it's not ready to play
|
|
8331
|
-
// - it's not loading
|
|
8332
|
-
// If it hasAudio, that will be loaded in the 'emptied' handler below
|
|
8333
|
-
player.video.load();
|
|
8334
|
-
// // console.log('Will load');
|
|
8335
|
-
}
|
|
8336
|
-
|
|
8337
|
-
// // console.assert(player.video.currentTime === player.driver.currentTime, 'Video not updating!');
|
|
8338
|
-
|
|
8339
|
-
if (player.video.ended) {
|
|
8340
|
-
delete player.video[IIVEvent]; // Allow timeupdate event
|
|
8341
|
-
player.video.pause(true);
|
|
8342
|
-
}
|
|
8343
|
-
}
|
|
8344
|
-
|
|
8345
|
-
/**
|
|
8346
|
-
* METHODS
|
|
8347
|
-
*/
|
|
8348
|
-
|
|
8349
|
-
function play() {
|
|
8350
|
-
// // console.log('play');
|
|
8351
|
-
var video = this;
|
|
8352
|
-
var player = video[IIV];
|
|
8353
|
-
|
|
8354
|
-
// If it's fullscreen, use the native player
|
|
8355
|
-
if (video.webkitDisplayingFullscreen) {
|
|
8356
|
-
video[IIVPlay]();
|
|
8357
|
-
return;
|
|
8358
|
-
}
|
|
8359
|
-
|
|
8360
|
-
if (player.driver.src !== 'data:' && player.driver.src !== video.src) {
|
|
8361
|
-
// // console.log('src changed on play', video.src);
|
|
8362
|
-
setTime(video, 0, true);
|
|
8363
|
-
player.driver.src = video.src;
|
|
8364
|
-
}
|
|
8365
|
-
|
|
8366
|
-
if (!video.paused) {
|
|
8367
|
-
return;
|
|
8368
|
-
}
|
|
8369
|
-
player.paused = false;
|
|
8370
|
-
|
|
8371
|
-
if (video.buffered.length === 0) {
|
|
8372
|
-
// .load() causes the emptied event
|
|
8373
|
-
// the alternative is .play()+.pause() but that triggers play/pause events, even worse
|
|
8374
|
-
// possibly the alternative is preventing this event only once
|
|
8375
|
-
video.load();
|
|
8376
|
-
}
|
|
8377
|
-
|
|
8378
|
-
player.driver.play();
|
|
8379
|
-
player.updater.start();
|
|
8380
|
-
|
|
8381
|
-
if (!player.hasAudio) {
|
|
8382
|
-
dispatchEventAsync(video, 'play');
|
|
8383
|
-
if (player.video.readyState >= player.video.HAVE_ENOUGH_DATA) {
|
|
8384
|
-
// // console.log('onplay');
|
|
8385
|
-
dispatchEventAsync(video, 'playing');
|
|
8386
|
-
}
|
|
8387
|
-
}
|
|
8388
|
-
}
|
|
8389
|
-
function pause(forceEvents) {
|
|
8390
|
-
// // console.log('pause');
|
|
8391
|
-
var video = this;
|
|
8392
|
-
var player = video[IIV];
|
|
8393
|
-
|
|
8394
|
-
player.driver.pause();
|
|
8395
|
-
player.updater.stop();
|
|
8396
|
-
|
|
8397
|
-
// If it's fullscreen, the developer the native player.pause()
|
|
8398
|
-
// This is at the end of pause() because it also
|
|
8399
|
-
// needs to make sure that the simulation is paused
|
|
8400
|
-
if (video.webkitDisplayingFullscreen) {
|
|
8401
|
-
video[IIVPause]();
|
|
8402
|
-
}
|
|
8403
|
-
|
|
8404
|
-
if (player.paused && !forceEvents) {
|
|
8405
|
-
return;
|
|
8406
|
-
}
|
|
8407
|
-
|
|
8408
|
-
player.paused = true;
|
|
8409
|
-
if (!player.hasAudio) {
|
|
8410
|
-
dispatchEventAsync(video, 'pause');
|
|
8411
|
-
}
|
|
8412
|
-
|
|
8413
|
-
// Handle the 'ended' event only if it's not fullscreen
|
|
8414
|
-
if (video.ended && !video.webkitDisplayingFullscreen) {
|
|
8415
|
-
video[IIVEvent] = true;
|
|
8416
|
-
dispatchEventAsync(video, 'ended');
|
|
8417
|
-
}
|
|
8418
|
-
}
|
|
8419
|
-
|
|
8420
|
-
/**
|
|
8421
|
-
* SETUP
|
|
8422
|
-
*/
|
|
8423
|
-
|
|
8424
|
-
function addPlayer(video, hasAudio) {
|
|
8425
|
-
var player = {};
|
|
8426
|
-
video[IIV] = player;
|
|
8427
|
-
player.paused = true; // Track whether 'pause' events have been fired
|
|
8428
|
-
player.hasAudio = hasAudio;
|
|
8429
|
-
player.video = video;
|
|
8430
|
-
player.updater = intervalometer.frameIntervalometer(update.bind(player));
|
|
8431
|
-
|
|
8432
|
-
if (hasAudio) {
|
|
8433
|
-
player.driver = getAudioFromVideo(video);
|
|
8434
|
-
} else {
|
|
8435
|
-
video.addEventListener('canplay', function () {
|
|
8436
|
-
if (!video.paused) {
|
|
8437
|
-
// // console.log('oncanplay');
|
|
8438
|
-
dispatchEventAsync(video, 'playing');
|
|
8439
|
-
}
|
|
8440
|
-
});
|
|
8441
|
-
player.driver = {
|
|
8442
|
-
src: video.src || video.currentSrc || 'data:',
|
|
8443
|
-
muted: true,
|
|
8444
|
-
paused: true,
|
|
8445
|
-
pause: function () {
|
|
8446
|
-
player.driver.paused = true;
|
|
8447
|
-
},
|
|
8448
|
-
play: function () {
|
|
8449
|
-
player.driver.paused = false;
|
|
8450
|
-
// Media automatically goes to 0 if .play() is called when it's done
|
|
8451
|
-
if (isPlayerEnded(player)) {
|
|
8452
|
-
setTime(video, 0);
|
|
8453
|
-
}
|
|
8454
|
-
},
|
|
8455
|
-
get ended() {
|
|
8456
|
-
return isPlayerEnded(player);
|
|
8457
|
-
}
|
|
8458
|
-
};
|
|
8459
|
-
}
|
|
8460
|
-
|
|
8461
|
-
// .load() causes the emptied event
|
|
8462
|
-
video.addEventListener('emptied', function () {
|
|
8463
|
-
// // console.log('driver src is', player.driver.src);
|
|
8464
|
-
var wasEmpty = !player.driver.src || player.driver.src === 'data:';
|
|
8465
|
-
if (player.driver.src && player.driver.src !== video.src) {
|
|
8466
|
-
// // console.log('src changed to', video.src);
|
|
8467
|
-
setTime(video, 0, true);
|
|
8468
|
-
player.driver.src = video.src;
|
|
8469
|
-
// Playing videos will only keep playing if no src was present when .play()’ed
|
|
8470
|
-
if (wasEmpty || (!hasAudio && video.autoplay)) {
|
|
8471
|
-
player.driver.play();
|
|
8472
|
-
} else {
|
|
8473
|
-
player.updater.stop();
|
|
8474
|
-
}
|
|
8475
|
-
}
|
|
8476
|
-
}, false);
|
|
8477
|
-
|
|
8478
|
-
// Stop programmatic player when OS takes over
|
|
8479
|
-
video.addEventListener('webkitbeginfullscreen', function () {
|
|
8480
|
-
if (!video.paused) {
|
|
8481
|
-
// Make sure that the <audio> and the syncer/updater are stopped
|
|
8482
|
-
video.pause();
|
|
8483
|
-
|
|
8484
|
-
// Play video natively
|
|
8485
|
-
video[IIVPlay]();
|
|
8486
|
-
} else if (hasAudio && player.driver.buffered.length === 0) {
|
|
8487
|
-
// If the first play is native,
|
|
8488
|
-
// the <audio> needs to be buffered manually
|
|
8489
|
-
// so when the fullscreen ends, it can be set to the same current time
|
|
8490
|
-
player.driver.load();
|
|
8491
|
-
}
|
|
8492
|
-
});
|
|
8493
|
-
if (hasAudio) {
|
|
8494
|
-
video.addEventListener('webkitendfullscreen', function () {
|
|
8495
|
-
// Sync audio to new video position
|
|
8496
|
-
player.driver.currentTime = video.currentTime;
|
|
8497
|
-
// // console.assert(player.driver.currentTime === video.currentTime, 'Audio not synced');
|
|
8498
|
-
});
|
|
8499
|
-
|
|
8500
|
-
// Allow seeking
|
|
8501
|
-
video.addEventListener('seeking', function () {
|
|
8502
|
-
if (lastRequests.indexOf(video.currentTime * 100 | 0 / 100) < 0) {
|
|
8503
|
-
// // console.log('User-requested seeking');
|
|
8504
|
-
player.driver.currentTime = video.currentTime;
|
|
8505
|
-
}
|
|
8506
|
-
});
|
|
8507
|
-
}
|
|
8508
|
-
}
|
|
8509
|
-
|
|
8510
|
-
function preventWithPropOrFullscreen(el) {
|
|
8511
|
-
var isAllowed = el[IIVEvent];
|
|
8512
|
-
delete el[IIVEvent];
|
|
8513
|
-
return !el.webkitDisplayingFullscreen && !isAllowed;
|
|
8514
|
-
}
|
|
8515
|
-
|
|
8516
|
-
function overloadAPI(video) {
|
|
8517
|
-
var player = video[IIV];
|
|
8518
|
-
video[IIVPlay] = video.play;
|
|
8519
|
-
video[IIVPause] = video.pause;
|
|
8520
|
-
video.play = play;
|
|
8521
|
-
video.pause = pause;
|
|
8522
|
-
proxyProperty(video, 'paused', player.driver);
|
|
8523
|
-
proxyProperty(video, 'muted', player.driver, true);
|
|
8524
|
-
proxyProperty(video, 'playbackRate', player.driver, true);
|
|
8525
|
-
proxyProperty(video, 'ended', player.driver);
|
|
8526
|
-
proxyProperty(video, 'loop', player.driver, true);
|
|
8527
|
-
|
|
8528
|
-
// IIV works by seeking 60 times per second.
|
|
8529
|
-
// These events are now useless.
|
|
8530
|
-
preventEvent(video, 'seeking', function (el) { return !el.webkitDisplayingFullscreen; });
|
|
8531
|
-
preventEvent(video, 'seeked', function (el) { return !el.webkitDisplayingFullscreen; });
|
|
8532
|
-
|
|
8533
|
-
// Limit timeupdate events
|
|
8534
|
-
preventEvent(video, 'timeupdate', preventWithPropOrFullscreen);
|
|
8535
|
-
|
|
8536
|
-
// Prevent occasional native ended events
|
|
8537
|
-
preventEvent(video, 'ended', preventWithPropOrFullscreen);
|
|
8538
|
-
}
|
|
8539
|
-
|
|
8540
|
-
function enableInlineVideo(video, opts) {
|
|
8541
|
-
if ( opts === void 0 ) opts = {};
|
|
8542
|
-
|
|
8543
|
-
// Stop if already enabled
|
|
8544
|
-
if (video[IIV]) {
|
|
8545
|
-
return;
|
|
8546
|
-
}
|
|
8547
|
-
|
|
8548
|
-
// Allow the user to skip detection
|
|
8549
|
-
if (!opts.everywhere) {
|
|
8550
|
-
// Only iOS8 and 9 are supported
|
|
8551
|
-
if (!iOS8or9) {
|
|
8552
|
-
return;
|
|
8553
|
-
}
|
|
8554
|
-
|
|
8555
|
-
// Stop if it's not an allowed device
|
|
8556
|
-
if (!(opts.iPad || opts.ipad ? /iPhone|iPod|iPad/ : /iPhone|iPod/).test(navigator.userAgent)) {
|
|
8557
|
-
return;
|
|
8558
|
-
}
|
|
8559
|
-
}
|
|
8560
|
-
|
|
8561
|
-
// Try to pause
|
|
8562
|
-
video.pause();
|
|
8563
|
-
|
|
8564
|
-
// Prevent autoplay.
|
|
8565
|
-
// An non-started autoplaying video can't be .pause()'d
|
|
8566
|
-
var willAutoplay = video.autoplay;
|
|
8567
|
-
video.autoplay = false;
|
|
8568
|
-
|
|
8569
|
-
addPlayer(video, !video.muted);
|
|
8570
|
-
overloadAPI(video);
|
|
8571
|
-
video.classList.add('IIV');
|
|
8572
|
-
|
|
8573
|
-
// Autoplay
|
|
8574
|
-
if (video.muted && willAutoplay) {
|
|
8575
|
-
video.play();
|
|
8576
|
-
video.addEventListener('playing', function restoreAutoplay() {
|
|
8577
|
-
video.autoplay = true;
|
|
8578
|
-
video.removeEventListener('playing', restoreAutoplay);
|
|
8579
|
-
});
|
|
8580
|
-
}
|
|
8581
|
-
|
|
8582
|
-
if (!/iPhone|iPod|iPad/.test(navigator.platform)) {
|
|
8583
|
-
console.warn('iphone-inline-video is not guaranteed to work in emulated environments');
|
|
8584
|
-
}
|
|
8585
|
-
}
|
|
8586
|
-
|
|
8587
|
-
module.exports = enableInlineVideo;
|
|
8588
|
-
|
|
8589
|
-
},{"intervalometer":68}],70:[function(_dereq_,module,exports){
|
|
8590
|
-
'use strict';
|
|
8591
|
-
|
|
8592
|
-
module.exports = Number.isFinite || function (value) {
|
|
8593
|
-
return !(typeof value !== 'number' || value !== value || value === Infinity || value === -Infinity);
|
|
8594
|
-
};
|
|
8595
|
-
|
|
8596
|
-
},{}],71:[function(_dereq_,module,exports){
|
|
8597
8178
|
module.exports = isPowerOfTwo
|
|
8598
8179
|
|
|
8599
8180
|
function isPowerOfTwo(n) {
|
|
8600
8181
|
return n !== 0 && (n & (n - 1)) === 0
|
|
8601
8182
|
}
|
|
8602
|
-
},{}],
|
|
8183
|
+
},{}],69:[function(_dereq_,module,exports){
|
|
8603
8184
|
var toString = {}.toString;
|
|
8604
8185
|
|
|
8605
8186
|
module.exports = Array.isArray || function (arr) {
|
|
8606
8187
|
return toString.call(arr) == '[object Array]';
|
|
8607
8188
|
};
|
|
8608
8189
|
|
|
8609
|
-
},{}],
|
|
8190
|
+
},{}],70:[function(_dereq_,module,exports){
|
|
8610
8191
|
/**
|
|
8611
8192
|
* Copyright 2013-2014 Facebook, Inc.
|
|
8612
8193
|
*
|
|
@@ -8661,15 +8242,7 @@ var keyMirror = function(obj) {
|
|
|
8661
8242
|
|
|
8662
8243
|
module.exports = keyMirror;
|
|
8663
8244
|
|
|
8664
|
-
},{}],
|
|
8665
|
-
'use strict';
|
|
8666
|
-
var numberIsFinite = _dereq_('is-finite');
|
|
8667
|
-
|
|
8668
|
-
module.exports = Number.isInteger || function (x) {
|
|
8669
|
-
return numberIsFinite(x) && Math.floor(x) === x;
|
|
8670
|
-
};
|
|
8671
|
-
|
|
8672
|
-
},{"is-finite":70}],75:[function(_dereq_,module,exports){
|
|
8245
|
+
},{}],71:[function(_dereq_,module,exports){
|
|
8673
8246
|
(function (global){(function (){
|
|
8674
8247
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
8675
8248
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -9200,7 +8773,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
9200
8773
|
}
|
|
9201
8774
|
|
|
9202
8775
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
9203
|
-
},{"./util.inspect":16}],
|
|
8776
|
+
},{"./util.inspect":16}],72:[function(_dereq_,module,exports){
|
|
9204
8777
|
var wrappy = _dereq_('wrappy')
|
|
9205
8778
|
module.exports = wrappy(once)
|
|
9206
8779
|
module.exports.strict = wrappy(onceStrict)
|
|
@@ -9244,7 +8817,7 @@ function onceStrict (fn) {
|
|
|
9244
8817
|
return f
|
|
9245
8818
|
}
|
|
9246
8819
|
|
|
9247
|
-
},{"wrappy":
|
|
8820
|
+
},{"wrappy":111}],73:[function(_dereq_,module,exports){
|
|
9248
8821
|
(function (process){(function (){
|
|
9249
8822
|
// Generated by CoffeeScript 1.12.2
|
|
9250
8823
|
(function() {
|
|
@@ -9284,7 +8857,7 @@ function onceStrict (fn) {
|
|
|
9284
8857
|
|
|
9285
8858
|
|
|
9286
8859
|
}).call(this)}).call(this,_dereq_('_process'))
|
|
9287
|
-
},{"_process":
|
|
8860
|
+
},{"_process":75}],74:[function(_dereq_,module,exports){
|
|
9288
8861
|
(function (process){(function (){
|
|
9289
8862
|
'use strict';
|
|
9290
8863
|
|
|
@@ -9333,7 +8906,7 @@ function nextTick(fn, arg1, arg2, arg3) {
|
|
|
9333
8906
|
|
|
9334
8907
|
|
|
9335
8908
|
}).call(this)}).call(this,_dereq_('_process'))
|
|
9336
|
-
},{"_process":
|
|
8909
|
+
},{"_process":75}],75:[function(_dereq_,module,exports){
|
|
9337
8910
|
// shim for using process in browser
|
|
9338
8911
|
var process = module.exports = {};
|
|
9339
8912
|
|
|
@@ -9519,7 +9092,7 @@ process.chdir = function (dir) {
|
|
|
9519
9092
|
};
|
|
9520
9093
|
process.umask = function() { return 0; };
|
|
9521
9094
|
|
|
9522
|
-
},{}],
|
|
9095
|
+
},{}],76:[function(_dereq_,module,exports){
|
|
9523
9096
|
'use strict';
|
|
9524
9097
|
|
|
9525
9098
|
var replace = String.prototype.replace;
|
|
@@ -9544,7 +9117,7 @@ module.exports = {
|
|
|
9544
9117
|
RFC3986: Format.RFC3986
|
|
9545
9118
|
};
|
|
9546
9119
|
|
|
9547
|
-
},{}],
|
|
9120
|
+
},{}],77:[function(_dereq_,module,exports){
|
|
9548
9121
|
'use strict';
|
|
9549
9122
|
|
|
9550
9123
|
var stringify = _dereq_('./stringify');
|
|
@@ -9557,7 +9130,7 @@ module.exports = {
|
|
|
9557
9130
|
stringify: stringify
|
|
9558
9131
|
};
|
|
9559
9132
|
|
|
9560
|
-
},{"./formats":
|
|
9133
|
+
},{"./formats":76,"./parse":78,"./stringify":79}],78:[function(_dereq_,module,exports){
|
|
9561
9134
|
'use strict';
|
|
9562
9135
|
|
|
9563
9136
|
var utils = _dereq_('./utils');
|
|
@@ -9855,7 +9428,7 @@ module.exports = function (str, opts) {
|
|
|
9855
9428
|
return utils.compact(obj);
|
|
9856
9429
|
};
|
|
9857
9430
|
|
|
9858
|
-
},{"./utils":
|
|
9431
|
+
},{"./utils":80}],79:[function(_dereq_,module,exports){
|
|
9859
9432
|
'use strict';
|
|
9860
9433
|
|
|
9861
9434
|
var getSideChannel = _dereq_('side-channel');
|
|
@@ -10208,7 +9781,7 @@ module.exports = function (object, opts) {
|
|
|
10208
9781
|
return joined.length > 0 ? prefix + joined : '';
|
|
10209
9782
|
};
|
|
10210
9783
|
|
|
10211
|
-
},{"./formats":
|
|
9784
|
+
},{"./formats":76,"./utils":80,"side-channel":97}],80:[function(_dereq_,module,exports){
|
|
10212
9785
|
'use strict';
|
|
10213
9786
|
|
|
10214
9787
|
var formats = _dereq_('./formats');
|
|
@@ -10475,7 +10048,7 @@ module.exports = {
|
|
|
10475
10048
|
merge: merge
|
|
10476
10049
|
};
|
|
10477
10050
|
|
|
10478
|
-
},{"./formats":
|
|
10051
|
+
},{"./formats":76}],81:[function(_dereq_,module,exports){
|
|
10479
10052
|
(function (global){(function (){
|
|
10480
10053
|
var now = _dereq_('performance-now')
|
|
10481
10054
|
, root = typeof window === 'undefined' ? global : window
|
|
@@ -10554,7 +10127,7 @@ module.exports.polyfill = function(object) {
|
|
|
10554
10127
|
}
|
|
10555
10128
|
|
|
10556
10129
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
10557
|
-
},{"performance-now":
|
|
10130
|
+
},{"performance-now":73}],82:[function(_dereq_,module,exports){
|
|
10558
10131
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
10559
10132
|
//
|
|
10560
10133
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -10686,7 +10259,7 @@ Duplex.prototype._destroy = function (err, cb) {
|
|
|
10686
10259
|
|
|
10687
10260
|
pna.nextTick(cb, err);
|
|
10688
10261
|
};
|
|
10689
|
-
},{"./_stream_readable":
|
|
10262
|
+
},{"./_stream_readable":84,"./_stream_writable":86,"core-util-is":26,"inherits":66,"process-nextick-args":74}],83:[function(_dereq_,module,exports){
|
|
10690
10263
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
10691
10264
|
//
|
|
10692
10265
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -10734,7 +10307,7 @@ function PassThrough(options) {
|
|
|
10734
10307
|
PassThrough.prototype._transform = function (chunk, encoding, cb) {
|
|
10735
10308
|
cb(null, chunk);
|
|
10736
10309
|
};
|
|
10737
|
-
},{"./_stream_transform":
|
|
10310
|
+
},{"./_stream_transform":85,"core-util-is":26,"inherits":66}],84:[function(_dereq_,module,exports){
|
|
10738
10311
|
(function (process,global){(function (){
|
|
10739
10312
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
10740
10313
|
//
|
|
@@ -11756,7 +11329,7 @@ function indexOf(xs, x) {
|
|
|
11756
11329
|
return -1;
|
|
11757
11330
|
}
|
|
11758
11331
|
}).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
11759
|
-
},{"./_stream_duplex":
|
|
11332
|
+
},{"./_stream_duplex":82,"./internal/streams/BufferList":87,"./internal/streams/destroy":88,"./internal/streams/stream":89,"_process":75,"core-util-is":26,"events":44,"inherits":66,"isarray":69,"process-nextick-args":74,"safe-buffer":90,"string_decoder/":91,"util":16}],85:[function(_dereq_,module,exports){
|
|
11760
11333
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
11761
11334
|
//
|
|
11762
11335
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -11971,7 +11544,7 @@ function done(stream, er, data) {
|
|
|
11971
11544
|
|
|
11972
11545
|
return stream.push(null);
|
|
11973
11546
|
}
|
|
11974
|
-
},{"./_stream_duplex":
|
|
11547
|
+
},{"./_stream_duplex":82,"core-util-is":26,"inherits":66}],86:[function(_dereq_,module,exports){
|
|
11975
11548
|
(function (process,global,setImmediate){(function (){
|
|
11976
11549
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
11977
11550
|
//
|
|
@@ -12659,7 +12232,7 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
12659
12232
|
cb(err);
|
|
12660
12233
|
};
|
|
12661
12234
|
}).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},_dereq_("timers").setImmediate)
|
|
12662
|
-
},{"./_stream_duplex":
|
|
12235
|
+
},{"./_stream_duplex":82,"./internal/streams/destroy":88,"./internal/streams/stream":89,"_process":75,"core-util-is":26,"inherits":66,"process-nextick-args":74,"safe-buffer":90,"timers":104,"util-deprecate":107}],87:[function(_dereq_,module,exports){
|
|
12663
12236
|
'use strict';
|
|
12664
12237
|
|
|
12665
12238
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -12738,7 +12311,7 @@ if (util && util.inspect && util.inspect.custom) {
|
|
|
12738
12311
|
return this.constructor.name + ' ' + obj;
|
|
12739
12312
|
};
|
|
12740
12313
|
}
|
|
12741
|
-
},{"safe-buffer":
|
|
12314
|
+
},{"safe-buffer":90,"util":16}],88:[function(_dereq_,module,exports){
|
|
12742
12315
|
'use strict';
|
|
12743
12316
|
|
|
12744
12317
|
/*<replacement>*/
|
|
@@ -12823,10 +12396,10 @@ module.exports = {
|
|
|
12823
12396
|
destroy: destroy,
|
|
12824
12397
|
undestroy: undestroy
|
|
12825
12398
|
};
|
|
12826
|
-
},{"process-nextick-args":
|
|
12399
|
+
},{"process-nextick-args":74}],89:[function(_dereq_,module,exports){
|
|
12827
12400
|
module.exports = _dereq_('events').EventEmitter;
|
|
12828
12401
|
|
|
12829
|
-
},{"events":44}],
|
|
12402
|
+
},{"events":44}],90:[function(_dereq_,module,exports){
|
|
12830
12403
|
/* eslint-disable node/no-deprecated-api */
|
|
12831
12404
|
var buffer = _dereq_('buffer')
|
|
12832
12405
|
var Buffer = buffer.Buffer
|
|
@@ -12890,7 +12463,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
12890
12463
|
return buffer.SlowBuffer(size)
|
|
12891
12464
|
}
|
|
12892
12465
|
|
|
12893
|
-
},{"buffer":18}],
|
|
12466
|
+
},{"buffer":18}],91:[function(_dereq_,module,exports){
|
|
12894
12467
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
12895
12468
|
//
|
|
12896
12469
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -13187,7 +12760,7 @@ function simpleWrite(buf) {
|
|
|
13187
12760
|
function simpleEnd(buf) {
|
|
13188
12761
|
return buf && buf.length ? this.write(buf) : '';
|
|
13189
12762
|
}
|
|
13190
|
-
},{"safe-buffer":
|
|
12763
|
+
},{"safe-buffer":90}],92:[function(_dereq_,module,exports){
|
|
13191
12764
|
exports = module.exports = _dereq_('./lib/_stream_readable.js');
|
|
13192
12765
|
exports.Stream = exports;
|
|
13193
12766
|
exports.Readable = exports;
|
|
@@ -13196,7 +12769,7 @@ exports.Duplex = _dereq_('./lib/_stream_duplex.js');
|
|
|
13196
12769
|
exports.Transform = _dereq_('./lib/_stream_transform.js');
|
|
13197
12770
|
exports.PassThrough = _dereq_('./lib/_stream_passthrough.js');
|
|
13198
12771
|
|
|
13199
|
-
},{"./lib/_stream_duplex.js":
|
|
12772
|
+
},{"./lib/_stream_duplex.js":82,"./lib/_stream_passthrough.js":83,"./lib/_stream_readable.js":84,"./lib/_stream_transform.js":85,"./lib/_stream_writable.js":86}],93:[function(_dereq_,module,exports){
|
|
13200
12773
|
/**
|
|
13201
12774
|
* request-frame - requestAnimationFrame & cancelAnimationFrame polyfill for optimal cross-browser development.
|
|
13202
12775
|
* @version v1.5.3
|
|
@@ -13427,7 +13000,7 @@ return requestFrame;
|
|
|
13427
13000
|
|
|
13428
13001
|
})));
|
|
13429
13002
|
|
|
13430
|
-
},{}],
|
|
13003
|
+
},{}],94:[function(_dereq_,module,exports){
|
|
13431
13004
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
13432
13005
|
/* eslint-disable node/no-deprecated-api */
|
|
13433
13006
|
var buffer = _dereq_('buffer')
|
|
@@ -13494,7 +13067,7 @@ SafeBuffer.allocUnsafeSlow = function (size) {
|
|
|
13494
13067
|
return buffer.SlowBuffer(size)
|
|
13495
13068
|
}
|
|
13496
13069
|
|
|
13497
|
-
},{"buffer":18}],
|
|
13070
|
+
},{"buffer":18}],95:[function(_dereq_,module,exports){
|
|
13498
13071
|
var hasProp = Object.prototype.hasOwnProperty;
|
|
13499
13072
|
|
|
13500
13073
|
function throwsMessage(err) {
|
|
@@ -13561,7 +13134,7 @@ module.exports = function(data, replacer, space) {
|
|
|
13561
13134
|
|
|
13562
13135
|
module.exports.ensureProperties = ensureProperties;
|
|
13563
13136
|
|
|
13564
|
-
},{}],
|
|
13137
|
+
},{}],96:[function(_dereq_,module,exports){
|
|
13565
13138
|
'use strict';
|
|
13566
13139
|
|
|
13567
13140
|
var GetIntrinsic = _dereq_('get-intrinsic');
|
|
@@ -13605,7 +13178,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
13605
13178
|
return fn;
|
|
13606
13179
|
};
|
|
13607
13180
|
|
|
13608
|
-
},{"define-data-property":29,"es-errors/type":42,"get-intrinsic":51,"gopd":55,"has-property-descriptors":56}],
|
|
13181
|
+
},{"define-data-property":29,"es-errors/type":42,"get-intrinsic":51,"gopd":55,"has-property-descriptors":56}],97:[function(_dereq_,module,exports){
|
|
13609
13182
|
'use strict';
|
|
13610
13183
|
|
|
13611
13184
|
var GetIntrinsic = _dereq_('get-intrinsic');
|
|
@@ -13736,7 +13309,7 @@ module.exports = function getSideChannel() {
|
|
|
13736
13309
|
return channel;
|
|
13737
13310
|
};
|
|
13738
13311
|
|
|
13739
|
-
},{"call-bind/callBound":19,"es-errors/type":42,"get-intrinsic":51,"object-inspect":
|
|
13312
|
+
},{"call-bind/callBound":19,"es-errors/type":42,"get-intrinsic":51,"object-inspect":71}],98:[function(_dereq_,module,exports){
|
|
13740
13313
|
module.exports = shift
|
|
13741
13314
|
|
|
13742
13315
|
function shift (stream) {
|
|
@@ -13759,7 +13332,7 @@ function getStateLength (state) {
|
|
|
13759
13332
|
return state.length
|
|
13760
13333
|
}
|
|
13761
13334
|
|
|
13762
|
-
},{}],
|
|
13335
|
+
},{}],99:[function(_dereq_,module,exports){
|
|
13763
13336
|
"use strict";
|
|
13764
13337
|
|
|
13765
13338
|
const defaults = ['use', 'on', 'once', 'set', 'query', 'type', 'accept', 'auth', 'withCredentials', 'sortQuery', 'retry', 'ok', 'redirects', 'timeout', 'buffer', 'serialize', 'parse', 'ca', 'key', 'pfx', 'cert', 'disableTLSCerts'];
|
|
@@ -13788,7 +13361,7 @@ for (const fn of defaults) {
|
|
|
13788
13361
|
}
|
|
13789
13362
|
module.exports = Agent;
|
|
13790
13363
|
|
|
13791
|
-
},{}],
|
|
13364
|
+
},{}],100:[function(_dereq_,module,exports){
|
|
13792
13365
|
"use strict";
|
|
13793
13366
|
|
|
13794
13367
|
/**
|
|
@@ -14738,7 +14311,7 @@ request.put = (url, data, fn) => {
|
|
|
14738
14311
|
return request_;
|
|
14739
14312
|
};
|
|
14740
14313
|
|
|
14741
|
-
},{"./agent-base":
|
|
14314
|
+
},{"./agent-base":99,"./request-base":101,"./response-base":102,"./utils":103,"component-emitter":24,"fast-safe-stringify":45,"qs":77}],101:[function(_dereq_,module,exports){
|
|
14742
14315
|
"use strict";
|
|
14743
14316
|
|
|
14744
14317
|
/**
|
|
@@ -15459,7 +15032,7 @@ RequestBase.prototype._setTimeouts = function () {
|
|
|
15459
15032
|
}
|
|
15460
15033
|
};
|
|
15461
15034
|
|
|
15462
|
-
},{"./utils":
|
|
15035
|
+
},{"./utils":103}],102:[function(_dereq_,module,exports){
|
|
15463
15036
|
"use strict";
|
|
15464
15037
|
|
|
15465
15038
|
/**
|
|
@@ -15580,7 +15153,7 @@ ResponseBase.prototype._setStatusProperties = function (status) {
|
|
|
15580
15153
|
this.unprocessableEntity = status === 422;
|
|
15581
15154
|
};
|
|
15582
15155
|
|
|
15583
|
-
},{"./utils":
|
|
15156
|
+
},{"./utils":103}],103:[function(_dereq_,module,exports){
|
|
15584
15157
|
"use strict";
|
|
15585
15158
|
|
|
15586
15159
|
/**
|
|
@@ -15703,7 +15276,7 @@ exports.isBrotliEncoding = res => {
|
|
|
15703
15276
|
return new RegExp(/^\s*(?:br)\s*$/).test(res.headers['content-encoding']);
|
|
15704
15277
|
};
|
|
15705
15278
|
|
|
15706
|
-
},{}],
|
|
15279
|
+
},{}],104:[function(_dereq_,module,exports){
|
|
15707
15280
|
(function (setImmediate,clearImmediate){(function (){
|
|
15708
15281
|
var nextTick = _dereq_('process/browser.js').nextTick;
|
|
15709
15282
|
var apply = Function.prototype.apply;
|
|
@@ -15782,7 +15355,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
|
|
|
15782
15355
|
delete immediateIds[id];
|
|
15783
15356
|
};
|
|
15784
15357
|
}).call(this)}).call(this,_dereq_("timers").setImmediate,_dereq_("timers").clearImmediate)
|
|
15785
|
-
},{"process/browser.js":
|
|
15358
|
+
},{"process/browser.js":75,"timers":104}],105:[function(_dereq_,module,exports){
|
|
15786
15359
|
(function (Buffer){(function (){
|
|
15787
15360
|
/*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
15788
15361
|
/**
|
|
@@ -15804,7 +15377,7 @@ module.exports = function typedarrayToBuffer (arr) {
|
|
|
15804
15377
|
}
|
|
15805
15378
|
|
|
15806
15379
|
}).call(this)}).call(this,_dereq_("buffer").Buffer)
|
|
15807
|
-
},{"buffer":18}],
|
|
15380
|
+
},{"buffer":18}],106:[function(_dereq_,module,exports){
|
|
15808
15381
|
/////////////////////////////////////////////////////////////////////////////////
|
|
15809
15382
|
/* UAParser.js v1.0.39
|
|
15810
15383
|
Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
|
|
@@ -16780,7 +16353,7 @@ module.exports = function typedarrayToBuffer (arr) {
|
|
|
16780
16353
|
|
|
16781
16354
|
})(typeof window === 'object' ? window : this);
|
|
16782
16355
|
|
|
16783
|
-
},{}],
|
|
16356
|
+
},{}],107:[function(_dereq_,module,exports){
|
|
16784
16357
|
(function (global){(function (){
|
|
16785
16358
|
|
|
16786
16359
|
/**
|
|
@@ -16851,7 +16424,7 @@ function config (name) {
|
|
|
16851
16424
|
}
|
|
16852
16425
|
|
|
16853
16426
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
16854
|
-
},{}],
|
|
16427
|
+
},{}],108:[function(_dereq_,module,exports){
|
|
16855
16428
|
(function (process,Buffer){(function (){
|
|
16856
16429
|
var stream = _dereq_('readable-stream')
|
|
16857
16430
|
var eos = _dereq_('end-of-stream')
|
|
@@ -17089,7 +16662,7 @@ Duplexify.prototype.end = function(data, enc, cb) {
|
|
|
17089
16662
|
module.exports = Duplexify
|
|
17090
16663
|
|
|
17091
16664
|
}).call(this)}).call(this,_dereq_('_process'),_dereq_("buffer").Buffer)
|
|
17092
|
-
},{"_process":
|
|
16665
|
+
},{"_process":75,"buffer":18,"end-of-stream":35,"inherits":66,"readable-stream":92,"stream-shift":98}],109:[function(_dereq_,module,exports){
|
|
17093
16666
|
(function (process,global){(function (){
|
|
17094
16667
|
'use strict'
|
|
17095
16668
|
|
|
@@ -17282,7 +16855,7 @@ function WebSocketStream(target, protocols, options) {
|
|
|
17282
16855
|
}
|
|
17283
16856
|
|
|
17284
16857
|
}).call(this)}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
17285
|
-
},{"_process":
|
|
16858
|
+
},{"_process":75,"duplexify":108,"readable-stream":92,"safe-buffer":94,"ws":110}],110:[function(_dereq_,module,exports){
|
|
17286
16859
|
|
|
17287
16860
|
var ws = null
|
|
17288
16861
|
|
|
@@ -17296,7 +16869,7 @@ if (typeof WebSocket !== 'undefined') {
|
|
|
17296
16869
|
|
|
17297
16870
|
module.exports = ws
|
|
17298
16871
|
|
|
17299
|
-
},{}],
|
|
16872
|
+
},{}],111:[function(_dereq_,module,exports){
|
|
17300
16873
|
// Returns a wrapper function that returns a wrapped callback
|
|
17301
16874
|
// The wrapper function should do some stuff, and return a
|
|
17302
16875
|
// presumably different callback function.
|
|
@@ -17331,10 +16904,10 @@ function wrappy (fn, cb) {
|
|
|
17331
16904
|
}
|
|
17332
16905
|
}
|
|
17333
16906
|
|
|
17334
|
-
},{}],
|
|
16907
|
+
},{}],112:[function(_dereq_,module,exports){
|
|
17335
16908
|
module.exports={
|
|
17336
16909
|
"name": "videomail-client",
|
|
17337
|
-
"version": "9.3.
|
|
16910
|
+
"version": "9.3.4",
|
|
17338
16911
|
"description": "A wicked npm package to record videos directly in the browser, wohooo!",
|
|
17339
16912
|
"keywords": [
|
|
17340
16913
|
"webcam",
|
|
@@ -17396,10 +16969,8 @@ module.exports={
|
|
|
17396
16969
|
"hyperscript": "2.0.2",
|
|
17397
16970
|
"inherits": "2.0.4",
|
|
17398
16971
|
"insert-css": "2.0.0",
|
|
17399
|
-
"iphone-inline-video": "2.2.2",
|
|
17400
16972
|
"is-power-of-two": "1.0.0",
|
|
17401
16973
|
"keymirror": "0.1.1",
|
|
17402
|
-
"number-is-integer": "2.0.0",
|
|
17403
16974
|
"request-frame": "1.5.3",
|
|
17404
16975
|
"safe-json-stringify": "1.2.0",
|
|
17405
16976
|
"superagent": "10.1.0",
|
|
@@ -17463,7 +17034,7 @@ module.exports={
|
|
|
17463
17034
|
"readmeFilename": "README.md"
|
|
17464
17035
|
}
|
|
17465
17036
|
|
|
17466
|
-
},{}],
|
|
17037
|
+
},{}],113:[function(_dereq_,module,exports){
|
|
17467
17038
|
"use strict";
|
|
17468
17039
|
|
|
17469
17040
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -17621,7 +17192,7 @@ Object.keys(_constants.default.public).forEach(function (name) {
|
|
|
17621
17192
|
VideomailClient.Events = _events.default;
|
|
17622
17193
|
var _default = exports.default = VideomailClient;
|
|
17623
17194
|
|
|
17624
|
-
},{"./constants":
|
|
17195
|
+
},{"./constants":114,"./events":115,"./options":116,"./resource":117,"./util/addOptionsFunctions":118,"./util/browser":120,"./util/collectLogger":121,"./util/eventEmitter":122,"./wrappers/container":129,"@babel/runtime/helpers/interopRequireDefault":4,"deepmerge":28,"inherits":66}],114:[function(_dereq_,module,exports){
|
|
17625
17196
|
"use strict";
|
|
17626
17197
|
|
|
17627
17198
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -17638,7 +17209,7 @@ var _default = exports.default = {
|
|
|
17638
17209
|
}
|
|
17639
17210
|
};
|
|
17640
17211
|
|
|
17641
|
-
},{}],
|
|
17212
|
+
},{}],115:[function(_dereq_,module,exports){
|
|
17642
17213
|
"use strict";
|
|
17643
17214
|
|
|
17644
17215
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -17735,7 +17306,7 @@ var _default = exports.default = (0, _keymirror.default)({
|
|
|
17735
17306
|
UNLOADING: null
|
|
17736
17307
|
});
|
|
17737
17308
|
|
|
17738
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"keymirror":
|
|
17309
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"keymirror":70}],116:[function(_dereq_,module,exports){
|
|
17739
17310
|
(function (process){(function (){
|
|
17740
17311
|
"use strict";
|
|
17741
17312
|
|
|
@@ -17947,7 +17518,7 @@ var optionsWithFunctions = (0, _addOptionsFunctions.default)(options);
|
|
|
17947
17518
|
var _default = exports.default = optionsWithFunctions;
|
|
17948
17519
|
|
|
17949
17520
|
}).call(this)}).call(this,_dereq_('_process'))
|
|
17950
|
-
},{"../../package.json":
|
|
17521
|
+
},{"../../package.json":112,"./util/addOptionsFunctions":118,"@babel/runtime/helpers/interopRequireDefault":4,"_process":75}],117:[function(_dereq_,module,exports){
|
|
17951
17522
|
"use strict";
|
|
17952
17523
|
|
|
17953
17524
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18107,7 +17678,7 @@ function _default(options) {
|
|
|
18107
17678
|
};
|
|
18108
17679
|
}
|
|
18109
17680
|
|
|
18110
|
-
},{"./constants":
|
|
17681
|
+
},{"./constants":114,"@babel/runtime/helpers/interopRequireDefault":4,"superagent":100}],118:[function(_dereq_,module,exports){
|
|
18111
17682
|
"use strict";
|
|
18112
17683
|
|
|
18113
17684
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -18162,7 +17733,7 @@ function addOptionsFunctions(options) {
|
|
|
18162
17733
|
}
|
|
18163
17734
|
var _default = exports.default = addOptionsFunctions;
|
|
18164
17735
|
|
|
18165
|
-
},{}],
|
|
17736
|
+
},{}],119:[function(_dereq_,module,exports){
|
|
18166
17737
|
"use strict";
|
|
18167
17738
|
|
|
18168
17739
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18295,7 +17866,7 @@ function _default(userMedia, options) {
|
|
|
18295
17866
|
};
|
|
18296
17867
|
}
|
|
18297
17868
|
|
|
18298
|
-
},{"./browser":
|
|
17869
|
+
},{"./browser":120,"./videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"audio-sample":14,"is-power-of-two":68}],120:[function(_dereq_,module,exports){
|
|
18299
17870
|
"use strict";
|
|
18300
17871
|
|
|
18301
17872
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18522,7 +18093,7 @@ var Browser = function Browser(options) {
|
|
|
18522
18093
|
};
|
|
18523
18094
|
var _default = exports.default = Browser;
|
|
18524
18095
|
|
|
18525
|
-
},{"./videomailError":
|
|
18096
|
+
},{"./videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"defined":30,"ua-parser-js":106}],121:[function(_dereq_,module,exports){
|
|
18526
18097
|
"use strict";
|
|
18527
18098
|
|
|
18528
18099
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18590,7 +18161,7 @@ function _default() {
|
|
|
18590
18161
|
};
|
|
18591
18162
|
}
|
|
18592
18163
|
|
|
18593
|
-
},{"./browser":
|
|
18164
|
+
},{"./browser":120,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/toConsumableArray":7,"format-util":47}],122:[function(_dereq_,module,exports){
|
|
18594
18165
|
"use strict";
|
|
18595
18166
|
|
|
18596
18167
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18657,7 +18228,7 @@ function _default(options, name) {
|
|
|
18657
18228
|
};
|
|
18658
18229
|
}
|
|
18659
18230
|
|
|
18660
|
-
},{"./../events":
|
|
18231
|
+
},{"./../events":115,"./videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"despot":31,"safe-json-stringify":95}],123:[function(_dereq_,module,exports){
|
|
18661
18232
|
"use strict";
|
|
18662
18233
|
|
|
18663
18234
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18679,7 +18250,7 @@ var _default = exports.default = {
|
|
|
18679
18250
|
}
|
|
18680
18251
|
};
|
|
18681
18252
|
|
|
18682
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"filesize":46,"humanize-duration":62}],
|
|
18253
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"filesize":46,"humanize-duration":62}],124:[function(_dereq_,module,exports){
|
|
18683
18254
|
"use strict";
|
|
18684
18255
|
|
|
18685
18256
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -18816,7 +18387,7 @@ var _default = exports.default = [
|
|
|
18816
18387
|
* 'timeupdate'
|
|
18817
18388
|
*/];
|
|
18818
18389
|
|
|
18819
|
-
},{}],
|
|
18390
|
+
},{}],125:[function(_dereq_,module,exports){
|
|
18820
18391
|
"use strict";
|
|
18821
18392
|
|
|
18822
18393
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18884,7 +18455,7 @@ function _default(anything, options) {
|
|
|
18884
18455
|
return anything.toString();
|
|
18885
18456
|
}
|
|
18886
18457
|
|
|
18887
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":
|
|
18458
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":95}],126:[function(_dereq_,module,exports){
|
|
18888
18459
|
"use strict";
|
|
18889
18460
|
|
|
18890
18461
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -18941,7 +18512,7 @@ function _default() {
|
|
|
18941
18512
|
}
|
|
18942
18513
|
}
|
|
18943
18514
|
|
|
18944
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"classlist.js":23,"request-frame":
|
|
18515
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"classlist.js":23,"request-frame":93}],127:[function(_dereq_,module,exports){
|
|
18945
18516
|
(function (global){(function (){
|
|
18946
18517
|
"use strict";
|
|
18947
18518
|
|
|
@@ -19334,7 +18905,7 @@ VideomailError.create = function (err, explanation, options, parameters) {
|
|
|
19334
18905
|
var _default = exports.default = VideomailError;
|
|
19335
18906
|
|
|
19336
18907
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
19337
|
-
},{"./../resource":
|
|
18908
|
+
},{"./../resource":117,"./browser":120,"./pretty":125,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"create-error":27,"safe-json-stringify":95}],128:[function(_dereq_,module,exports){
|
|
19338
18909
|
"use strict";
|
|
19339
18910
|
|
|
19340
18911
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -19860,7 +19431,7 @@ var Buttons = function Buttons(container, options) {
|
|
|
19860
19431
|
(0, _inherits.default)(Buttons, _eventEmitter.default);
|
|
19861
19432
|
var _default = exports.default = Buttons;
|
|
19862
19433
|
|
|
19863
|
-
},{"../events":
|
|
19434
|
+
},{"../events":115,"../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,"contains":25,"hidden":61,"hyperscript":63,"inherits":66}],129:[function(_dereq_,module,exports){
|
|
19864
19435
|
"use strict";
|
|
19865
19436
|
|
|
19866
19437
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -20574,7 +20145,7 @@ var Container = function Container(options) {
|
|
|
20574
20145
|
(0, _inherits.default)(Container, _eventEmitter.default);
|
|
20575
20146
|
var _default = exports.default = Container;
|
|
20576
20147
|
|
|
20577
|
-
},{"../../styles/css/main.min.css.js":
|
|
20148
|
+
},{"../../styles/css/main.min.css.js":144,"../events":115,"../resource":117,"../util/eventEmitter":122,"../util/videomailError":127,"./buttons":128,"./dimension":130,"./form":131,"./optionsWrapper":132,"./visuals":133,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4,"document-visibility":32,"hidden":61,"inherits":66,"insert-css":67,"safe-json-stringify":95}],130:[function(_dereq_,module,exports){
|
|
20578
20149
|
"use strict";
|
|
20579
20150
|
|
|
20580
20151
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -20582,7 +20153,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
20582
20153
|
value: true
|
|
20583
20154
|
});
|
|
20584
20155
|
exports.default = void 0;
|
|
20585
|
-
var _numberIsInteger = _interopRequireDefault(_dereq_("number-is-integer"));
|
|
20586
20156
|
var _videomailError = _interopRequireDefault(_dereq_("./../util/videomailError"));
|
|
20587
20157
|
function getOuterWidth(element) {
|
|
20588
20158
|
var outerWidth = 0;
|
|
@@ -20605,7 +20175,7 @@ function figureMinHeight(height, options) {
|
|
|
20605
20175
|
height = Math.min(options.video.height, height);
|
|
20606
20176
|
}
|
|
20607
20177
|
}
|
|
20608
|
-
if (
|
|
20178
|
+
if (Number.isInteger(height) && height < 1) {
|
|
20609
20179
|
throw _videomailError.default.create("Got a video height less than 1 (".concat(height, ") while figuring out the minimum!"), options);
|
|
20610
20180
|
}
|
|
20611
20181
|
|
|
@@ -20626,7 +20196,7 @@ var _default = exports.default = {
|
|
|
20626
20196
|
// else apply the outer width when the element has no defined width yet
|
|
20627
20197
|
limitedWidth = outerWidth;
|
|
20628
20198
|
}
|
|
20629
|
-
if (
|
|
20199
|
+
if (Number.isInteger(limitedWidth) && limitedWidth < 1) {
|
|
20630
20200
|
throw _videomailError.default.create("Limited width cannot be less than 1!", options);
|
|
20631
20201
|
} else {
|
|
20632
20202
|
return limitedWidth;
|
|
@@ -20637,7 +20207,7 @@ var _default = exports.default = {
|
|
|
20637
20207
|
* but good enough for now to ensure some stability.
|
|
20638
20208
|
*/
|
|
20639
20209
|
limitHeight: function limitHeight(height, options) {
|
|
20640
|
-
if (
|
|
20210
|
+
if (Number.isInteger(height) && height < 1) {
|
|
20641
20211
|
throw _videomailError.default.create("Passed limit-height argument cannot be less than 1!", options);
|
|
20642
20212
|
} else {
|
|
20643
20213
|
var limitedHeight = Math.min(height,
|
|
@@ -20657,7 +20227,7 @@ var _default = exports.default = {
|
|
|
20657
20227
|
if (options.responsive) {
|
|
20658
20228
|
height = this.limitHeight(height, options);
|
|
20659
20229
|
}
|
|
20660
|
-
if (
|
|
20230
|
+
if (Number.isInteger(height) && height < 1) {
|
|
20661
20231
|
throw _videomailError.default.create("Height cannot be smaller than 1 when calculating width.", options);
|
|
20662
20232
|
} else {
|
|
20663
20233
|
var calculatedWidth = parseInt(height / ratio);
|
|
@@ -20675,7 +20245,7 @@ var _default = exports.default = {
|
|
|
20675
20245
|
if (options.hasDefinedWidth()) {
|
|
20676
20246
|
width = options.video.width;
|
|
20677
20247
|
}
|
|
20678
|
-
if (
|
|
20248
|
+
if (Number.isInteger(width) && width < 1) {
|
|
20679
20249
|
throw _videomailError.default.create("Unable to calculate height when width is less than 1.", options);
|
|
20680
20250
|
} else if (options.responsive) {
|
|
20681
20251
|
width = this.limitWidth(element, width, options);
|
|
@@ -20683,7 +20253,7 @@ var _default = exports.default = {
|
|
|
20683
20253
|
if (width) {
|
|
20684
20254
|
height = parseInt(width * ratio);
|
|
20685
20255
|
}
|
|
20686
|
-
if (
|
|
20256
|
+
if (Number.isInteger(height) && height < 1) {
|
|
20687
20257
|
throw _videomailError.default.create("Just calculated a height less than 1 which is wrong.", options);
|
|
20688
20258
|
} else {
|
|
20689
20259
|
return figureMinHeight(height, options);
|
|
@@ -20691,7 +20261,7 @@ var _default = exports.default = {
|
|
|
20691
20261
|
}
|
|
20692
20262
|
};
|
|
20693
20263
|
|
|
20694
|
-
},{"./../util/videomailError":
|
|
20264
|
+
},{"./../util/videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4}],131:[function(_dereq_,module,exports){
|
|
20695
20265
|
"use strict";
|
|
20696
20266
|
|
|
20697
20267
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -20974,7 +20544,7 @@ var Form = function Form(container, formElement, options) {
|
|
|
20974
20544
|
(0, _inherits.default)(Form, _eventEmitter.default);
|
|
20975
20545
|
var _default = exports.default = Form;
|
|
20976
20546
|
|
|
20977
|
-
},{"../events":
|
|
20547
|
+
},{"../events":115,"../util/eventEmitter":122,"../util/videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"get-form-data":50,"hidden":61,"hyperscript":63,"inherits":66,"safe-json-stringify":95}],132:[function(_dereq_,module,exports){
|
|
20978
20548
|
"use strict";
|
|
20979
20549
|
|
|
20980
20550
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21001,7 +20571,7 @@ var _default = exports.default = {
|
|
|
21001
20571
|
}
|
|
21002
20572
|
};
|
|
21003
20573
|
|
|
21004
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"deepmerge":28}],
|
|
20574
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"deepmerge":28}],133:[function(_dereq_,module,exports){
|
|
21005
20575
|
"use strict";
|
|
21006
20576
|
|
|
21007
20577
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21345,7 +20915,7 @@ var Visuals = function Visuals(container, options) {
|
|
|
21345
20915
|
(0, _inherits.default)(Visuals, _eventEmitter.default);
|
|
21346
20916
|
var _default = exports.default = Visuals;
|
|
21347
20917
|
|
|
21348
|
-
},{"../events":
|
|
20918
|
+
},{"../events":115,"../util/eventEmitter":122,"./visuals/inside/recorderInsides":139,"./visuals/notifier":140,"./visuals/recorder":141,"./visuals/replay":142,"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63,"inherits":66,"safe-json-stringify":95}],134:[function(_dereq_,module,exports){
|
|
21349
20919
|
"use strict";
|
|
21350
20920
|
|
|
21351
20921
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21419,7 +20989,7 @@ function _default(visuals, options) {
|
|
|
21419
20989
|
};
|
|
21420
20990
|
}
|
|
21421
20991
|
|
|
21422
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],
|
|
20992
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],135:[function(_dereq_,module,exports){
|
|
21423
20993
|
"use strict";
|
|
21424
20994
|
|
|
21425
20995
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21468,7 +21038,7 @@ function _default(visuals, options) {
|
|
|
21468
21038
|
};
|
|
21469
21039
|
}
|
|
21470
21040
|
|
|
21471
|
-
},{"./../../../../events":
|
|
21041
|
+
},{"./../../../../events":115,"./../../../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],136:[function(_dereq_,module,exports){
|
|
21472
21042
|
"use strict";
|
|
21473
21043
|
|
|
21474
21044
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21521,7 +21091,7 @@ function _default(visuals, options) {
|
|
|
21521
21091
|
};
|
|
21522
21092
|
}
|
|
21523
21093
|
|
|
21524
|
-
},{"./../../../../util/videomailError":
|
|
21094
|
+
},{"./../../../../util/videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],137:[function(_dereq_,module,exports){
|
|
21525
21095
|
"use strict";
|
|
21526
21096
|
|
|
21527
21097
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21562,7 +21132,7 @@ function _default(visuals) {
|
|
|
21562
21132
|
};
|
|
21563
21133
|
}
|
|
21564
21134
|
|
|
21565
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],
|
|
21135
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],138:[function(_dereq_,module,exports){
|
|
21566
21136
|
"use strict";
|
|
21567
21137
|
|
|
21568
21138
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21682,7 +21252,7 @@ function _default(visuals, recordNote, options) {
|
|
|
21682
21252
|
};
|
|
21683
21253
|
}
|
|
21684
21254
|
|
|
21685
|
-
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],
|
|
21255
|
+
},{"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63}],139:[function(_dereq_,module,exports){
|
|
21686
21256
|
"use strict";
|
|
21687
21257
|
|
|
21688
21258
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -21796,7 +21366,7 @@ var RecorderInsides = function RecorderInsides(visuals, options) {
|
|
|
21796
21366
|
(0, _inherits.default)(RecorderInsides, _eventEmitter.default);
|
|
21797
21367
|
var _default = exports.default = RecorderInsides;
|
|
21798
21368
|
|
|
21799
|
-
},{"./../../../events":
|
|
21369
|
+
},{"./../../../events":115,"./../../../util/browser":120,"./../../../util/eventEmitter":122,"./recorder/countdown":134,"./recorder/facingMode":135,"./recorder/pausedNote":136,"./recorder/recordNote":137,"./recorder/recordTimer":138,"@babel/runtime/helpers/interopRequireDefault":4,"inherits":66}],140:[function(_dereq_,module,exports){
|
|
21800
21370
|
"use strict";
|
|
21801
21371
|
|
|
21802
21372
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -22077,7 +21647,7 @@ var Notifier = function Notifier(visuals, options) {
|
|
|
22077
21647
|
(0, _inherits.default)(Notifier, _eventEmitter.default);
|
|
22078
21648
|
var _default = exports.default = Notifier;
|
|
22079
21649
|
|
|
22080
|
-
},{"../../events":
|
|
21650
|
+
},{"../../events":115,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,"hidden":61,"hyperscript":63,"inherits":66}],141:[function(_dereq_,module,exports){
|
|
22081
21651
|
(function (Buffer){(function (){
|
|
22082
21652
|
"use strict";
|
|
22083
21653
|
|
|
@@ -23249,7 +22819,7 @@ var Recorder = function Recorder(visuals, replay) {
|
|
|
23249
22819
|
var _default = exports.default = Recorder;
|
|
23250
22820
|
|
|
23251
22821
|
}).call(this)}).call(this,_dereq_("buffer").Buffer)
|
|
23252
|
-
},{"../../constants":
|
|
22822
|
+
},{"../../constants":114,"../../events":115,"../../util/browser":120,"../../util/eventEmitter":122,"../../util/humanize":123,"../../util/pretty":125,"../../util/videomailError":127,"./userMedia":143,"@babel/runtime/helpers/interopRequireDefault":4,"animitter":13,"buffer":18,"canvas-to-buffer":21,"deepmerge":28,"hidden":61,"hyperscript":63,"inherits":66,"safe-json-stringify":95,"websocket-stream":109}],142:[function(_dereq_,module,exports){
|
|
23253
22823
|
"use strict";
|
|
23254
22824
|
|
|
23255
22825
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -23261,7 +22831,6 @@ var _addEventlistenerWithOptions = _interopRequireDefault(_dereq_("add-eventlist
|
|
|
23261
22831
|
var _hidden = _interopRequireDefault(_dereq_("hidden"));
|
|
23262
22832
|
var _hyperscript = _interopRequireDefault(_dereq_("hyperscript"));
|
|
23263
22833
|
var _inherits = _interopRequireDefault(_dereq_("inherits"));
|
|
23264
|
-
var _iphoneInlineVideo = _interopRequireDefault(_dereq_("iphone-inline-video"));
|
|
23265
22834
|
var _events = _interopRequireDefault(_dereq_("../../events"));
|
|
23266
22835
|
var _browser = _interopRequireDefault(_dereq_("../../util/browser"));
|
|
23267
22836
|
var _eventEmitter = _interopRequireDefault(_dereq_("../../util/eventEmitter"));
|
|
@@ -23379,14 +22948,6 @@ var Replay = function Replay(parentElement, options) {
|
|
|
23379
22948
|
replayElement.setAttribute("muted", true);
|
|
23380
22949
|
}
|
|
23381
22950
|
|
|
23382
|
-
/*
|
|
23383
|
-
* this must be called after setting the sources and when becoming visible
|
|
23384
|
-
* see https://github.com/bfred-it/iphone-inline-video/issues/16
|
|
23385
|
-
*/
|
|
23386
|
-
_iphoneInlineVideo.default && (0, _iphoneInlineVideo.default)(replayElement, {
|
|
23387
|
-
iPad: true
|
|
23388
|
-
});
|
|
23389
|
-
|
|
23390
22951
|
// this forces to actually fetch the videos from the server
|
|
23391
22952
|
replayElement.load();
|
|
23392
22953
|
if (!videomail) {
|
|
@@ -23580,7 +23141,7 @@ var Replay = function Replay(parentElement, options) {
|
|
|
23580
23141
|
(0, _inherits.default)(Replay, _eventEmitter.default);
|
|
23581
23142
|
var _default = exports.default = Replay;
|
|
23582
23143
|
|
|
23583
|
-
},{"../../events":
|
|
23144
|
+
},{"../../events":115,"../../util/browser":120,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,"add-eventlistener-with-options":12,"hidden":61,"hyperscript":63,"inherits":66}],143:[function(_dereq_,module,exports){
|
|
23584
23145
|
"use strict";
|
|
23585
23146
|
|
|
23586
23147
|
var _interopRequireDefault = _dereq_("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -23995,10 +23556,10 @@ function _default(recorder, options) {
|
|
|
23995
23556
|
};
|
|
23996
23557
|
}
|
|
23997
23558
|
|
|
23998
|
-
},{"./../../events":
|
|
23559
|
+
},{"./../../events":115,"./../../util/audioRecorder":119,"./../../util/browser":120,"./../../util/eventEmitter":122,"./../../util/mediaEvents":124,"./../../util/pretty":125,"./../../util/videomailError":127,"@babel/runtime/helpers/interopRequireDefault":4,"hyperscript":63,"safe-json-stringify":95}],144:[function(_dereq_,module,exports){
|
|
23999
23560
|
"use strict";
|
|
24000
23561
|
|
|
24001
|
-
module.exports = '@-webkit-keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}@keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}.
|
|
23562
|
+
module.exports = '@-webkit-keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}@keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}.videomail .visuals{position:relative}.videomail .visuals video.replay{height:100%;width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer{height:auto;margin:0}.videomail .countdown,.videomail .facingMode,.videomail .paused,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{position:absolute;z-index:100}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{font-weight:700}.videomail .countdown,.videomail .paused,.videomail noscript{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint{letter-spacing:4px;text-align:center;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.videomail .countdown,.videomail .pausedHeader{font-size:460%;opacity:.9}.videomail .pausedHint{font-size:150%}.videomail .facingMode{background:rgba(30,30,30,.5);border:none;bottom:.6em;color:hsla(0,0%,96%,.9);font-family:monospace;font-size:1.2em;outline:none;padding:.1em .3em;right:.7em;-webkit-transition:all .2s ease;transition:all .2s ease;z-index:10}.videomail .facingMode:hover{background:rgba(50,50,50,.7);cursor:pointer}.videomail .recordNote,.videomail .recordTimer{background:hsla(0,0%,4%,.8);color:#00d814;font-family:monospace;opacity:.9;padding:.3em .4em;right:.7em;-webkit-transition:all 1s ease;transition:all 1s ease}.videomail .recordNote.near,.videomail .recordTimer.near{color:#eb9369}.videomail .recordNote.nigh,.videomail .recordTimer.nigh{color:#ea4b2a}.videomail .recordTimer{top:.7em}.videomail .recordNote{top:3.6em}.videomail .recordNote:before{-webkit-animation:blink 1s infinite;animation:blink 1s infinite;content:"REC"}.videomail .notifier{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}';
|
|
24002
23563
|
|
|
24003
23564
|
},{}],"videomail-client":[function(_dereq_,module,exports){
|
|
24004
23565
|
"use strict";
|
|
@@ -24014,5 +23575,5 @@ var _standardize = _interopRequireDefault(_dereq_("./util/standardize"));
|
|
|
24014
23575
|
(0, _standardize.default)(window, navigator);
|
|
24015
23576
|
var _default = exports.default = _client.default;
|
|
24016
23577
|
|
|
24017
|
-
},{"./client":
|
|
23578
|
+
},{"./client":113,"./util/standardize":126,"@babel/runtime/helpers/interopRequireDefault":4}]},{},["videomail-client"])("videomail-client")
|
|
24018
23579
|
});
|