├── src ├── assets │ └── .gitkeep ├── app │ ├── index.ts │ ├── components │ │ ├── vb-drop │ │ │ ├── vb-drop.html │ │ │ ├── vb-drop.css │ │ │ └── vb-drop.ts │ │ ├── vb-captions │ │ │ ├── vb-captions.html │ │ │ ├── vb-captions.css │ │ │ └── vb-captions.ts │ │ ├── vb-scroll │ │ │ └── vb-scroll.ts │ │ └── vb-video │ │ │ ├── vb-video.css │ │ │ ├── vb-video.html │ │ │ └── vb-video.ts │ ├── app.component.css │ ├── app.module.ts │ ├── app.component.ts │ ├── app.component.spec.ts │ ├── app.component.html │ └── services │ │ └── subtitles-parser.ts ├── favicon.ico ├── environments │ ├── environment.prod.ts │ └── environment.ts ├── typings.d.ts ├── index.html ├── main.ts ├── tsconfig.json ├── styles.css ├── polyfills.ts └── test.ts ├── CNAME ├── e2e ├── app.po.ts ├── app.e2e-spec.ts └── tsconfig.json ├── README.md ├── .editorconfig ├── .gitignore ├── protractor.conf.js ├── karma.conf.js ├── angular-cli.json ├── package.json └── tslint.json /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | video.fluentcards.com -------------------------------------------------------------------------------- /src/app/index.ts: -------------------------------------------------------------------------------- 1 | export * from './app.component'; 2 | export * from './app.module'; 3 | -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/katspaugh/videobook/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /src/typings.d.ts: -------------------------------------------------------------------------------- 1 | // Typings reference file, you can add your own global typings here 2 | // https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html 3 | 4 | declare var System: any; 5 | -------------------------------------------------------------------------------- /e2e/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, element, by } from 'protractor'; 2 | 3 | export class VideobookPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Videobook 2 | ========= 3 | 4 | An HTML5 video player with navigable subtitles. 5 | Works in Chrome, Safari and Firefox (50+). 6 | 7 | Demo: http://katspaugh.github.io/videobook 8 | 9 |  10 | 11 | Slick UI design by [@hmprk](https://github.com/hmprk) 12 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = 0 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /src/app/components/vb-drop/vb-drop.html: -------------------------------------------------------------------------------- 1 |