npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cristianobleve/player

v1.0.8

Published

Ultra-modular, modern Glassmorphism HTML5 Video Player with DRM, Themes, and Plugin support

Readme

@cristianobleve/player 🎬

ExtPlayer Banner

Next-generation, ultra-modular, modern Geometric Dark HTML5 Video Player with YouTube / Vimeo Embeds, HLS Streaming, DRM, and Auto-Poster Frame Extraction.

npm version license


✨ Features

  • 🖤 Geometric Dark Aesthetics: Modern pitch-black (#000000) theme with high-contrast sharp 6px geometry and monochrome controls.
  • 🌐 Universal Provider Resolution: Native support for YouTube, Vimeo, Dailymotion, Twitch, Google Drive, Dropbox, and AWS S3 / R2.
  • 📡 Adaptive HLS & Multi-Bitrate: Built-in HLS.js integration with automatic quality level switching.
  • 🖼️ Auto-Poster Frame Extraction: Automatically extracts a high-quality video snapshot if no custom poster image is provided.
  • 🤖 Smart Autoplay Policy Handler: Automatically falls back to muted playback with a tap-to-unmute banner if unmuted autoplay is blocked.
  • 📐 Mobile & Responsive First: Smooth controls scaling from tiny 320px mobile screens to 1440px+ 4K displays.
  • 🔒 DRM EME Hooks: Widevine, FairPlay, and PlayReady Encrypted Media Extensions support.

📦 Installation

Via NPM

npm install @cristianobleve/player
import ExtPlayer from '@cristianobleve/player';
import '@cristianobleve/player/css';

// Initialize player
const player = new ExtPlayer('#video-container', {
  src: 'https://media.w3.org/2010/05/sintel/trailer.mp4',
  title: '🎬 Sintel Movie Trailer',
  theme: 'monochrome', // 'monochrome' | 'obsidian' | 'cinema' | 'nordic'
  autoplay: false
});

Via CDN (Browser Script Tag)

<!-- ExtPlayer Stylesheet -->
<link rel="stylesheet" href="https://cdn.cristianobleve.com/packets/player/latest/ext-player.css">

<!-- ExtPlayer Script -->
<script src="https://cdn.cristianobleve.com/packets/player/latest/ext-player.min.js"></script>

<div id="player-target"></div>

<script>
  new ExtPlayer('#player-target', {
    src: 'https://www.youtube.com/watch?v=L_LUpnjgPso', // Works with YouTube!
    title: 'YouTube Embed Demo'
  });
</script>

💻 Code Examples

1. Direct MP4 Video

const player = new ExtPlayer('#video', {
  src: 'https://vjs.zencdn.net/v/oceans.mp4',
  title: '🌊 Oceans Wildlife',
  theme: 'monochrome'
});

2. YouTube / Vimeo Video

const player = new ExtPlayer('#video', {
  src: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ',
  title: 'YouTube Stream'
});

3. Adaptive HLS (.m3u8) Streaming

const player = new ExtPlayer('#video', {
  src: 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8',
  title: '📡 Live HLS Stream'
});

🛠️ Methods & API

// Controls
player.play();
player.pause();
player.togglePlay();
player.seek(30); // Seek to 30s
player.setVolume(0.8);
player.setMuted(true);
player.toggleFullscreen();

// Events
player.on('play', () => console.log('Video started'));
player.on('pause', () => console.log('Video paused'));
player.on('ended', () => console.log('Playback completed'));
player.on('timeupdate', ({ currentTime, duration }) => {
  console.log(`Progress: ${currentTime} / ${duration}`);
});

⚙️ Options Reference

| Option | Type | Default | Description | |---|---|---|---| | target | string \| HTMLElement | (required) | Selector or DOM container element | | src | string | '' | Video source URL (MP4, YouTube, Vimeo, HLS .m3u8, Cloud links) | | poster | string | '' | Custom poster image URL | | autoPoster | boolean | true | Auto-extract thumbnail frame from video if poster is missing | | title | string | '' | Title string overlay displayed in top left bar | | showTitle | boolean | true | Show or hide top header title bar | | theme | 'monochrome' \| 'obsidian' \| 'cinema' \| 'nordic' | 'monochrome' | Built-in theme preset | | autoplay | boolean \| 'muted' \| 'play' | false | Smart Autoplay with automatic muted fallback | | loop | boolean | false | Loop video playback | | muted | boolean | false | Start muted | | volume | number | 1.0 | Initial volume level (0.0 to 1.0) |


📄 License

MIT © Cristiano Bleve