Closed BuffCoder closed 9 years ago
There's a few very minor things that I'll probably cleanup at some point, but overall this looks pretty good. I don't think the youtube vid on the dashboard will work though. Did you test it? I added you as an admin user so you should be able to Host a Meeting and try it out.
Yay!!! I'm not in love with the overlay view - is it ok to ditch that and just watch the movie on the page?
:heart_eyes:
But that'a the movie theater experience! :smile:
In all seriousness thought, yeah, I'm fine to change it to whatever. Maybe display it below the 'Add Movie' button on the left side or something?
The reason I don't think the dashboard part will work is because I fail to save the full movie when selecting a new one, so I don't think dashboardVm.currentMovie.trailerUrl
will ever get a value.
Minor things that you can clean up if you'd like:
ng-class
directives. I think this just reads cleaner. Example: ng-class="{'display-flex': dashboardVm.currentMovie.trailerUrl}"
validateYoutubeUrl
. Won't the validator handle this?Movie
attribute in the movie name input tag.youtubeValidator
since it's doing more than validation (see youtubeIdParser). Things that I'd eventually change just because I'm OCD (that you can totally ignore):
$scope.width = $scope.width || 560;
Major Fix
Minor Fixes
ng-Class
Movie
attribute was there when I got hereOCD Fixes
TODO
I'll take a closer look this evening, but after a quick glance I think this is totally mergable. You, or I, or someone else can submit follow on PRs for the remaining TODO items. Excellent work @BrandonCKrueger!
I'm merging this to master, which will publish to the dev site (prepend 'dev.' to the prod site host). I'll play with it a little there and if all looks good, I'll promote to PROD after a bit.
Welcome to the cool nerd kids club @BrandonCKrueger :)
This adds the ability to also include youtube trailer videos with movie selection. If the current selected movie has an associated youtube trailer it will be displayed on the front page, else it won't be. Users can also preview their trailer by clicking the 'YouTube' link next to the movie in the list. Also includes a button to open a new tab to YouTube search with the movie title pre-populated in the search.
A few screen grabs: