
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Kaldiras is a video player for ReactJS. Simple, accessible, and easy to customize.
Kaldiras is a video player for ReactJS. Simple, accessible, and easy to customize.
npm install kaldiras
or
yarn add kaldiras
For now, Kaldiras supported video types like mp4, webm, mov, and ogg. You must set the video type on the source property and the quality size of the video.
The other property like subtitles and previews is optional. Just the source property is required.
import "kaldiras/kaldiras.css";
import { Video } from "kaldiras";
const App = () => {
return(
<Video
sources={[
{
source: "https://.../480p.mp4",
type: "video/mp4",
resolution: "1080"
}
]}
subtitles={[
{
label: "English",
lang: "en",
source: "https://.../en.vtt",
default: true
}
]}
previews={[
{
source: "https://.../5s.png",
time: "0:05"
}
]} />
)
}
Here will be explained the structure that exists in the sources property:
key | type | description |
---|---|---|
source | string | Fill with the video url here. |
type | video/mp4 , video/webm , video/ogg , video/quicktime | Set the video format. |
resolution | 360 , 480 , 576 , 720 , 1080 , 1440 , 2160 | Set the video resolution. |
default | boolean | Set the video with what resolution to display by default. |
Here will be explained the structure that exists in the subtitles property:
key | type | description |
---|---|---|
label | string | Fill with the caption language |
lang | string | Fill with the caption language id |
source | string | Fill with the caption url here. |
default | boolean | Set the default caption. |
This property is used to display a thumbnail preview when highlighting the progress bar. Here will be explained the structure that exists in the previews property:
key | type | description |
---|---|---|
source | string | Fill with the image url here. |
time | string | Fill the time when the thumbnail shows, with a format m:ss . |
MIT © Yudha Pratama Wicaksana
FAQs
Kaldiras is a video player for ReactJS. Simple, accessible, and easy to customize.
We found that kaldiras demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.