@abcnews/scrollyteller-video

2.1.0 • Public • Published

Scrollyteller Video Background

Add a video background to a scrollyteller.

Usage

Inside a Scrollyteller:

import Video from '@abcnews/scrollyteller-video';

<Scrollyteller {...}>
  <Video src={url} targetTime={number} onTargetTimeReached={() => {}}>
    ... any overlays ...
  </Video>
</Scrollyteller>

Author

Package Sidebar

Install

npm i @abcnews/scrollyteller-video

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

8.48 kB

Total Files

4

Last publish

Collaborators

  • ashkyd
  • jtfell
  • phocks
  • andrewkesper
  • drzax