New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitplayer

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitplayer

A beautiful, minimalistic, modern HTML5 video player

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

BitPlayer

A beautiful, minimalistic, modern HTML5 video player with React support.

Visitors npm version License: MIT PRs Welcome GitHub issues

Features

  • 🎨 Minimalistic and modern design
  • 🎯 Highly customizable
  • 📱 Fully responsive
  • ⌨️ Keyboard shortcuts
  • 🎛️ Advanced controls (quality, playback speed, volume)
  • 📺 Full-screen support
  • 🎭 Picture-in-Picture
  • 🔊 Volume controls with mute toggle
  • ⏱️ Custom time display
  • 🎯 Seeking preview thumbnails
  • 🎨 Customizable themes
  • ⚛️ React component available

Installation

Via NPM

npm install bitplayer

Via CDN

<link rel="stylesheet" href="https://unpkg.com/bitplayer/dist/bitplayer.css">
<script src="https://unpkg.com/bitplayer/dist/bitplayer.js"></script>

Usage

Vanilla JavaScript

<div class="bitplayer-container">
  <video id="my-video" class="bitplayer">
    <source src="path/to/video.mp4" type="video/mp4">
  </video>
</div>

<script>
  const player = new BitPlayer('#my-video', {
    autoplay: false,
    muted: false,
    controls: true
  });
</script>

React

import { BitPlayer } from 'bitplayer';
import 'bitplayer/dist/bitplayer.css';

function App() {
  return (
    <BitPlayer
      src="path/to/video.mp4"
      autoPlay={false}
      muted={false}
      controls={true}
    />
  );
}

Documentation

For detailed documentation, visit documentation.

License

MIT © sh20raj

Keywords

FAQs

Package last updated on 10 Jan 2025

Did you know?

Socket

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.

Install

Related posts

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