werner-rotator-player
v0.0.36
Published
Tumult's Hype embeded player using Werner's convention. This project didn't aimed for public user.
Downloads
19
Readme
Werner's Rotator Player
Tumult's Hype embeded player using Werner's convention. This project didn't aimed for public user.
Installation:
In your project's root run this command
npm install --save werner-rotator-player
Usage:
import { playSlide } from 'werner-rotator-player';
import configs from './slideConfigs.json'; // Normally we'll load this from a service or api instead..
const playerContainer = document.getElementById('sliderContainer');
playSlide(playerContainer, configs);
Bower support:
This library also available in Bower by
bower install --save werner-rotator-player
Emembed the bundled-for-web javascript file in our html will expose a global variable WernerPlayer
,
which could be use like this in our page:
WernerPlayer.playSide(element, configs);
References
https://tympanus.net/Development/NavigationIndicators/