softbuilders-react-video-player
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -57,3 +57,3 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
player.on("loadedmetadata", () => { | ||
const d = player.duration(); | ||
const d = player.duration() || 0; | ||
setDuratoin(d); | ||
@@ -60,0 +60,0 @@ }); |
{ | ||
"name": "softbuilders-react-video-player", | ||
"description": "Standalone video player component", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"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
259005