New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

roseplayer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roseplayer

User first pluggable video player for React/Next.js apps, designed with Apple's Human Interface Guidelines in mind

latest
Source
npmnpm
Version
1.9.0
Version published
Maintainers
1
Created
Source

🌹 Rose Media Player

Immersive video player for your users, supported in React and NextJS. Designed with Apple Human Interface Guidelines in mind.

Rose Media Player

Features

  • Designed with Human in mind
  • Timeline previews on the fly
  • Seamless seeking with frame updates
  • Optimized buffering for no-lag experience
  • Useful Keyboard shortcuts
  • For Devs: TypeScript support out of the box

Change Log

  • Add video play/pause toggle on click.

Installation

# With npm
npm install roseplayer

# With yarn
yarn add roseplayer

# With pnpm
pnpm add roseplayer

Quick Start

"use client";

import { RosePlayer } from "roseplayer";

export default function MoviePlayer() {
  return (
    <RosePlayer
      src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/TearsOfSteel.mp4"
      poster="https://images.unsplash.com/photo-1626544827763-d516dce335e2?q=80&w=1000&auto=format&fit=crop"
    />
  );
}

Props

PropTypeDefaultDescription
srcstringrequiredURL of the video file
posterstringundefinedURL of the poster image
autoPlaybooleanfalseWhether to autoplay the video
mutedbooleanfalseWhether to mute the video
loopbooleanfalseWhether to loop the video
classNamestringundefinedCustom class name
showThumbGenProgressbooleanfalseShow keyframe generation progress
onPlay() => voidundefinedCallback when video plays
onPause() => voidundefinedCallback when video pauses
onEnded() => voidundefinedCallback when video ends

Keyboard Controls

RosePlayer supports comprehensive keyboard controls:

KeyAction
SpaceToggle play/pause
mToggle mute
fToggle fullscreen
Forward 5 seconds
Back 5 seconds
Increase volume
Decrease volume

Browser Support

RosePlayer supports all major modern browsers including:

  • Chrome, Edge (Chromium-based)
  • Firefox
  • Safari
  • Mobile browsers (iOS Safari, Android Chrome)

Requirements

  • React 18 or newer

License

CC BY-NC-ND

Contact

Email hi@roseplayer.com

Keywords

video player

FAQs

Package last updated on 25 May 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