Tumult's Hype embeded player using Werner's convention. This project didn't aimed for public user.
In your project's root run this command
npm install --save werner-rotator-player
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);
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);