@abcnews/scrollyteller-video

A video background for scrollytellers

Usage no npm install needed!

<script type="module">
  import abcnewsScrollytellerVideo from 'https://cdn.skypack.dev/@abcnews/scrollyteller-video';
</script>

README

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

  • Nathan Hoad - (hoad.nathan@abc.net.au)[mailto:hoad.nathan@abc.net.au]