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

@faintlines/video-player

Package Overview
Dependencies
Maintainers
5
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.5.1 to 1.5.2

16

dist/index.js

@@ -244,5 +244,3 @@ import { isEmpty, values, isEqual } from 'lodash';

var loopRangeRef = useRef(loopRange);
var urlObj = typeof url === "string" ? {
file: url
} : url;
var urlObj = ensureUrlObject(url);
useEffect(function () {

@@ -411,2 +409,7 @@ if (ref) {

});
function ensureUrlObject(url) {
return typeof url === "string" ? {
file: url
} : url;
}

@@ -462,3 +465,3 @@ function selectVideoUrl(_ref3) {

return /*#__PURE__*/React.createElement(VideoPlayer, {
key: url,
key: urlToKey(url),
url: url,

@@ -473,3 +476,8 @@ preload: "auto",

function urlToKey(url) {
var urlObj = ensureUrlObject(url);
return urlObj.file || urlObj.hls || urlObj.dash;
}
export { VideoPreloader, VideoPlayer as default, filterVideoUrls, isVideoUrl };
//# sourceMappingURL=index.js.map
{
"name": "@faintlines/video-player",
"version": "1.5.1",
"version": "1.5.2",
"description": "",

@@ -43,3 +43,3 @@ "license": "UNLICENSED",

},
"gitHead": "d563aca53d838b63bf7782d2109db646b9b6bf1a"
"gitHead": "ed8551a156172518730062da0be6b9e2cd4de91d"
}

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