Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@faintlines/video-player

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faintlines/video-player - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

16

dist/index.js

@@ -194,3 +194,3 @@ import React, { forwardRef, useState, useRef, useEffect, useCallback, useContext } from 'react';

var _excluded = ["url", "hlsUrl", "dashUrl", "fileUrl", "className", "progressInterval", "playsInline", "autoPlay", "preload", "onPlay", "onPause", "onProgress", "onLoadedMetadata"],
var _excluded = ["url", "hlsUrl", "dashUrl", "fileUrl", "className", "progressInterval", "playsInline", "autoPlay", "preload", "poster", "onPlay", "onPause", "onProgress", "onLoadedMetadata"],
_excluded2 = ["children"];

@@ -211,2 +211,3 @@

preload = _ref.preload,
poster = _ref.poster,
onPlay = _ref.onPlay,

@@ -268,3 +269,4 @@ onPause = _ref.onPause,

}
}, [onProgress]);
}, // eslint-disable-next-line react-hooks/exhaustive-deps
[onProgress]);
var metadataLoadedHandler = useCallback(function (evt) {

@@ -280,3 +282,4 @@ if (ref && ref.current) {

}
}, [onLoadedMetadata]);
}, // eslint-disable-next-line react-hooks/exhaustive-deps
[onLoadedMetadata]);
var playHandler = useCallback(function (evt) {

@@ -290,3 +293,4 @@ if (ref && ref.current) {

}
}, [onPlay]);
}, // eslint-disable-next-line react-hooks/exhaustive-deps
[onPlay]);
var pauseHandler = useCallback(function (evt) {

@@ -300,3 +304,4 @@ if (ref && ref.current) {

}
}, [onPause]);
}, // eslint-disable-next-line react-hooks/exhaustive-deps
[onPause]);
return /*#__PURE__*/React.createElement(WrapperPropsContext.Provider, {

@@ -322,2 +327,3 @@ value: {

preload: preload,
poster: poster,
disablePictureInPicture: true

@@ -324,0 +330,0 @@ }, getRemotePlaybackAttribute())

{
"name": "@faintlines/video-player",
"version": "1.3.5",
"version": "1.3.6",
"description": "",
"license": "UNLICENSED",
"main": "dist/index.js",
"scripts": {
"test": "jest"
},
"files": [

@@ -30,3 +33,9 @@ "dist"

},
"gitHead": "30a556166294d7fe5377fc3562c6bd28af2de929"
"jest": {
"testEnvironment": "jsdom",
"moduleNameMapper": {
"^react($|/.+)": "<rootDir>/node_modules/react$1"
}
},
"gitHead": "db751b706b914caf3e4998a10be7f395daddc1f3"
}

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