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.
- Install all dependencies:
yarn
. - Build the project:
yarn build
. - Start the dev server:
yarn dev
. - Open the dev server at http://localhost:3000
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