softbuilders-react-video-player
Advanced tools
Comparing version 1.1.28 to 1.1.29
@@ -69,2 +69,4 @@ import { jsx as _jsx } from "react/jsx-runtime"; | ||
const videoElement = document.createElement("video-js"); | ||
videoElement.style.width = "100%"; | ||
videoElement.style.height = "100%"; | ||
videoElement.setAttribute("playsinline", "true"); | ||
@@ -229,5 +231,5 @@ videoElement.classList.add("vjs-big-play-centered"); | ||
}, []); | ||
return (_jsx("div", { ref: videoRefs, id: `video-container-${id}`, className: "sb-relative sb-rounded-md sb-overflow-hidden", children: _jsx("div", { className: "hover:sb-cursor-pointer", "data-vjs-player": true, children: _jsx("div", { onClick: handlePlayerClick, ref: videoRef }) }) })); | ||
return (_jsx("div", { ref: videoRefs, id: `video-container-${id}`, className: "sb-relative sb-rounded-md sb-overflow-hidden sb-w-full sb-h-full ", children: _jsx("div", { className: "hover:sb-cursor-pointer sb-w-full sb-h-full", "data-vjs-player": true, children: _jsx("div", { onClick: handlePlayerClick, ref: videoRef, className: "sb-w-full sb-h-full" }) }) })); | ||
}; | ||
export default VideoPlayerComponent; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "softbuilders-react-video-player", | ||
"description": "Standalone video player component", | ||
"version": "1.1.28", | ||
"version": "1.1.29", | ||
"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
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
302720
6644
67