Skip to content

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.

Notifications You must be signed in to change notification settings

veganhacktivists/wd-player

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published