Created
February 24, 2018 05:02
-
-
Save captaincole/e346891013289e101c6d838cda605f62 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // workout-completion.page.ts | |
| public vidState1 = 'previous'; | |
| public vidState2 = 'current'; | |
| public vidState3 = 'next'; | |
| @ViewChild('video1') video1; | |
| @ViewChild('video2') video2; | |
| @ViewChild('video3') video3; | |
| // Setup Video Buffer Array, which will contain the urls that we wish to load into each video element | |
| public videoBuffer: Array<any> = [this.emptyVideo, this.emptyVideo, this.emptyVideo]; | |
| public emptyVideo = { | |
| url: '', | |
| thumbnail: { | |
| url: 'default_url' | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment