@media-manager/media-connect

Connect media sources

Usage no npm install needed!

<script type="module">
  import mediaManagerMediaConnect from 'https://cdn.skypack.dev/@media-manager/media-connect';
</script>

README

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()



Code is Poetry.