softbuilders-react-video-player
Advanced tools
Comparing version 1.3.12 to 1.3.13
@@ -10,3 +10,3 @@ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; | ||
(player === null || player === void 0 ? void 0 : player.currentTime) | ||
? setCurrentTime(player.currentTime() || 0) | ||
? setCurrentTime((player === null || player === void 0 ? void 0 : player.currentTime()) || 0) | ||
: setCurrentTime(0); | ||
@@ -13,0 +13,0 @@ }, 500); |
@@ -14,3 +14,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
const updateVolumeState = () => { | ||
if (player && player != null) { | ||
if ((player === null || player === void 0 ? void 0 : player.muted) && (player === null || player === void 0 ? void 0 : player.volume)) { | ||
const currentVolume = (player === null || player === void 0 ? void 0 : player.muted()) | ||
@@ -17,0 +17,0 @@ ? 0 |
{ | ||
"name": "softbuilders-react-video-player", | ||
"description": "Standalone video player component", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
431993
9089