0.4.0-alpha.0 • Published 3 years ago

@media-manager/media-connect v0.4.0-alpha.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
3 years ago

Media Connect

All media sources of the block editor, connected.

Installation

Install the module

npm install @media-manager/media-manager --save

Implementation

The media-connect package provides a way to register media sources in the app context, pulling useful information from them and also the ability con handle them., all of this using redux registering the media source store.

This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for ES2015+ such as IE browsers then using core-js will add polyfills for these methods.

API

Hooks

useMediaSourceId()

useMediaStore()

useCurrentTime()