@abcnews/scrollyteller-video

v2.1.0
A video background for scrollytellers
react scrollyteller video

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

npm i @abcnews/scrollyteller-video

Metadata

  • MIT
  • Whatever
  • Nathan Hoad
  • released 8/22/2019

Downloads