Huge News!Announcing our $40M Series B led by Abstract Ventures.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.9 to 1.3.10

packages/eplayer/index.js

3

package.json
{
"name": "eplayer",
"version": "1.3.9",
"version": "1.3.10",
"description": "A web-components html5 video player facing future",
"main": "./packages/eplayer/eplayer.js",
"module": "./packages/eplayer/index.js",
"scripts": {

@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1",

@@ -1,2 +0,2 @@

export class Eplayer extends HTMLElement {
class Eplayer extends HTMLElement {
constructor () {

@@ -436,2 +436,4 @@ super()

customElements.define('e-player', Eplayer)
function getTimeStr (time) {

@@ -438,0 +440,0 @@ let h = Math.floor(time / 3600)

@@ -33,3 +33,3 @@ <p align="center"><img src="http://ww1.sinaimg.cn/large/0065Zy9egy1fvcjfzaa1lj30dw0dwwhe.jpg" alt="eplayer logo" width="200px"></p>

<script type="module">
import { Eplayer } from 'https://unpkg.com/eplayer'
import { Eplayer } from 'https://unpkg.com/eplayer?module'
//注册 customElement

@@ -36,0 +36,0 @@ customElements.define('e-player', Eplayer)

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