@evercam/ui 0.0.27 → 0.0.28
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.
- package/dist/index.mjs +7 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/EVideoPlayer.vue.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4415,14 +4415,10 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4415
4415
|
},
|
|
4416
4416
|
initializePlayer() {
|
|
4417
4417
|
const e = this.$refs.player;
|
|
4418
|
-
e && (e.autoplay && this.setPlaying(!0), document.addEventListener("mouseup",
|
|
4419
|
-
this.isScrubbing && this.toggleScrubbing(t);
|
|
4420
|
-
}), document.addEventListener("keydown", this.handleKeyDown));
|
|
4418
|
+
e && (e.autoplay && this.setPlaying(!0), document.addEventListener("mouseup", this.handleScrubbingOnMouseEnd), document.addEventListener("keydown", this.handleKeyDown));
|
|
4421
4419
|
},
|
|
4422
4420
|
destroyPlayer() {
|
|
4423
|
-
window.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("mouseup",
|
|
4424
|
-
this.isScrubbing && this.toggleScrubbing(e);
|
|
4425
|
-
});
|
|
4421
|
+
window.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("mouseup", this.handleScrubbingOnMouseEnd);
|
|
4426
4422
|
},
|
|
4427
4423
|
removeFullscreenListeners() {
|
|
4428
4424
|
document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.removeEventListener(
|
|
@@ -4455,11 +4451,14 @@ const J = new Intl.NumberFormat(void 0, {
|
|
|
4455
4451
|
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4456
4452
|
},
|
|
4457
4453
|
handleFullscreenChange() {
|
|
4458
|
-
document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement || window.innerWidth == screen.width && window.innerHeight == screen.height
|
|
4454
|
+
this.isFullscreen = document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement || window.innerWidth == screen.width && window.innerHeight == screen.height;
|
|
4459
4455
|
},
|
|
4460
4456
|
isLooped() {
|
|
4461
4457
|
return this.$refs.player.loop;
|
|
4462
4458
|
},
|
|
4459
|
+
handleScrubbingOnMouseEnd(e) {
|
|
4460
|
+
this.isScrubbing && this.toggleScrubbing(e);
|
|
4461
|
+
},
|
|
4463
4462
|
handleEnded() {
|
|
4464
4463
|
this.isFinished = !0, this.playing = !1;
|
|
4465
4464
|
},
|
|
@@ -4595,7 +4594,7 @@ var gt = function() {
|
|
|
4595
4594
|
ht,
|
|
4596
4595
|
!1,
|
|
4597
4596
|
null,
|
|
4598
|
-
"
|
|
4597
|
+
"a2d04d0f",
|
|
4599
4598
|
null,
|
|
4600
4599
|
null
|
|
4601
4600
|
);
|