项目作者: avalonmediasystem

项目描述 :
Media player and structured navigation application which consumes a IIIF 3.0 spec AV manifest
高级语言: JavaScript
项目地址: git://github.com/avalonmediasystem/avalon-iiif-player.git
创建时间: 2017-05-21T16:52:56Z
项目社区:https://github.com/avalonmediasystem/avalon-iiif-player

开源协议:

下载


Please note that, this GitHub repository is no longer supported by Avalon Media System

This has been replaced by a new component library at: https://github.com/samvera-labs/iiif-react-media-player.

Avalon IIIF-AV player

Build Status JavaScript Style Guide

This is a React JavaScript application that displays a player and structured navigation when given a IIIF-AV
JSON manifest (spec 3.0).

Demo Page:

Developing

Navigate to project root directory and run the following commands. A webpack dev server (with live re-loading) will start at: http://localhost:3334/

  1. yarn install
  2. yarn start

Building

To build the bundle:

  1. yarn build

Running tests:

To run the project’s Jest unit tests:

  1. yarn test

Travis Runs…

To use on a page:

  1. <html>
  2. <head>
  3. <title>Avalon IIIF Player Example</title>
  4. </head>
  5. <body>
  6. <div id="avln-iiif-player-root" class="avln-iiif-player" data-manifest-url="http://yourmanifest.com"></div>
  7. <script src="[INCLUDE /build/static/js/your-compiled-js-file-here.js]"></script>
  8. </body>
  9. </html>

The data-manifest-url attribute should link to a publicly accessible IIIF-AV manifest.