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

@cassette/core

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cassette/core

A simple, clean, and responsive visual wrapper for the HTML audio tag, built with React.

  • 2.0.0-alpha.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-95.24%
Maintainers
1
Weekly downloads
 
Created
Source

@cassette/core

@cassette/core provides React Context-based components which expose an API for consuming and updating media player state. The API abstraction maps very closely to the set of actions that would be available to an end user of a conventional media player, while remaining flexible enough to accommodate varying media player design paradigms.

Installation

npm install @cassette/core
Components included:
  • FullscreenContextConsumer - used to read and update the state of the surrounding fullscreenContext
  • FullscreenContextProvider - wraps an area which should be fullscreen-able
  • PlayerContextConsumer - used to read and update the state of the surrounding playerContext
  • PlayerContextGroup - a wrapper which can be used to share configuration among multiple descendant PlayerContextProvider instances as well as prevent multiple media elements from playing audio simultaneously
  • PlayerContextProvider - wraps an area which shares a common playerContext
Higher-order components included:
  • playerContextFilter - consumes the surrounding fullscreenContext and playerContext and passes only a specified subset of the context, as well as any additional props, to the given child component

Find full documentation here!

Keywords

FAQs

Package last updated on 24 Nov 2018

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