NgxVideoScrolling
An angular component allowing video scrubbing on scroll. This project is based on this CodePen.
Demo
Working demo here.
Installation
To install this library, run :
$ npm install ngx-video-scrolling
and then add it into your AppModule
:
;
You can now use its component :
Parameters
Input | Default Value | Optional | Description |
---|---|---|---|
videoSource | undefined | false | Video file path |
frameNumber | 0 | true | The frame number to start the video from (in seconds) |
frameDivider | 1000 | true | Number of pixels to scroll to scrub one second |
tooltips | [] | true | Array of tooltips (See tooltips section) |
Tooltips
Show customizable tooltips on video