New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eplayer

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eplayer - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

docs/eplayer.b.js

11

dist/eplayer.b.js

@@ -96,5 +96,7 @@ class Eplayer extends HTMLElement {

down(e) {
e.stopPropagation()
this.disX = e.clientX - this.$('.cycle').offsetLeft
document.onmousemove = e => this.move(e)
document.onmouseup = () => {
e.stopPropagation()
document.onmousemove = null

@@ -106,2 +108,3 @@ document.onmouseup = null

move(e) {
e.stopPropagation()
let offset = e.clientX - this.disX + 7

@@ -128,3 +131,3 @@ if (offset < 0) offset = 0

this.timer = setTimeout(() => {
this.$(".controls").style.bottom = -42 + "px"
this.$(".controls").style.bottom = -50 + "px"
this.$(".ep-video").style.bottom = 25 + "px"

@@ -211,2 +214,3 @@ }, 5000)

right:0;
cursor:pointer;
}

@@ -349,3 +353,3 @@ .options{

<div class="mark loading"></div>
<div class="controls" style="bottom:-45px">
<div class="controls" style="bottom:-50px">
<div class="progress">

@@ -405,3 +409,3 @@ <b class="bg"></b>

})
this.$('.progress').onclick = e => this.progress(e)
this.$('.progress').onmousedown = e => this.progress(e)
this.video.onwaiting = () => this.waiting()

@@ -428,2 +432,3 @@ this.video.oncanplay = () => this.canplay()

// export default Eplayer
customElements.define('e-player',Eplayer)

@@ -430,0 +435,0 @@

@@ -96,5 +96,7 @@ class Eplayer extends HTMLElement {

down(e) {
e.stopPropagation()
this.disX = e.clientX - this.$('.cycle').offsetLeft
document.onmousemove = e => this.move(e)
document.onmouseup = () => {
e.stopPropagation()
document.onmousemove = null

@@ -106,2 +108,3 @@ document.onmouseup = null

move(e) {
e.stopPropagation()
let offset = e.clientX - this.disX + 7

@@ -128,3 +131,3 @@ if (offset < 0) offset = 0

this.timer = setTimeout(() => {
this.$(".controls").style.bottom = -42 + "px"
this.$(".controls").style.bottom = -50 + "px"
this.$(".ep-video").style.bottom = 25 + "px"

@@ -211,2 +214,3 @@ }, 5000)

right:0;
cursor:pointer;
}

@@ -349,3 +353,3 @@ .options{

<div class="mark loading"></div>
<div class="controls" style="bottom:-45px">
<div class="controls" style="bottom:-50px">
<div class="progress">

@@ -405,3 +409,3 @@ <b class="bg"></b>

})
this.$('.progress').onclick = e => this.progress(e)
this.$('.progress').onmousedown = e => this.progress(e)
this.video.onwaiting = () => this.waiting()

@@ -429,2 +433,3 @@ this.video.oncanplay = () => this.canplay()

export default Eplayer
// customElements.define('e-player',Eplayer)

@@ -431,0 +436,0 @@ function getTimeStr(time) {

{
"name": "eplayer",
"version": "1.3.0",
"version": "1.3.1",
"description": "A web-components html5 video player facing future",

@@ -5,0 +5,0 @@ "main": "./dist/eplayer.em.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc