Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 830 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 830 Bytes

Watch Dominion Player

A javascript video player based on Video.js that allows you to embed Dominion or one of the other movies, including captions and different audio formats. Movie data is made available on https://embed.watchdominion.org.

Usage

  1. Install all dependencies: yarn.
  2. Build the project: yarn build.
  3. Start the dev server: yarn dev.
  4. Open the dev server at http://localhost:3000

Updating and adding movies

In the root folder you'll find a folder for each movie that's supported. The layout of each movie must adhere to the structure as listed below. Captions must be in VTT formats and posters in PNG formats.

movie-name/
  captions/
    ar-AE.vtt
    bg-BG.vtt
    ca-ES.vtt
    ...
  posters/
    default.png
    ...
  embed.html
  movie.json