This repository contains code:
- to inject srt/vtt files to html video.
- to search movies with http://www.moviedb.com
- to search subtitles with http://www.opensubtitles.org
- to parse srt files
- to customize subtitle layout
This repo will be used for:
https://github.com/plussub/chrome-extension
https://github.com/plussub/landingpage
- npm
- npm install
- bower install
- gulp mocha_unit for unit tests
- gulp mocha_integration for integration tests
All states are handled with redux. Reducer and Actions can be found in redux. It exists different configuration for different use cases.
- Use local storage to store/load state
- Use real redux store
- Does not store any state
- Use real redux store
- Use local storage to store/load state
- Use real redux store
- Broadcast state update to ui elements with 'background bridge'
- Get stored state from background Redux via 'app bridge'
- Receive/Send state change from/to background Redux via 'app bridge'
- Triggers Ajax calls to other datasources like www.moviedb.com
- Subtitle parsing
- Hold, shares and saves application states
The main user interface. From here it is posible to use the main featuers like:
- trigger movie search
- trigger subtitle search
- load subtitle files
- delay subtitle
- show current loaded subtitle information
- Search <video> tags on websites
- Inject subtitles
User interface to set additional options like:
- subtitle customizing
- debug settings
Contains theming for app and option pages.
Shared action definition for redux.