This is a JavaScript player that displays a player and navagation when given IIIF-AV JSON.
To run the project's tests:
./node_modules/karma/bin/karma start
standard
karma start --single-run --browsers PhantomJS
To build the bundle:
./node_modules/.bin/webpack
<html>
<head>
<title>Avalon Player Webpack Version</title>
</head>
<body>
<div class="iiif-av-player"></div>
<div id="data-iiifav-source" data-iiifav-source="lunchroom_manners_v2.json"></div>
<script src="bundle.js"></script>
</body>
</html>
The data-iiifav-source
attribute should link to a publically accesible IIIF-AV manifest.
Documentation generated from JSDoc comments is published here.
You can fork this repository to host your own IIIF Player.
First fork this repository, then edit the HTML pages and upload your own manifests in the dist
folder.
Commit the changes and then push.