Skip to content

Commit

Permalink
Fix issue with universal and document
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkmalmgren committed Dec 8, 2017
1 parent 54f7beb commit f007820
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "bolingbrook-church",
"version": "1.3.4",
"version": "1.3.5",
"license": "MIT",
"angular-cli": {},
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions src/app/services/youtube.service.ts
Expand Up @@ -71,6 +71,10 @@ export class YoutubeService {
}

videoState(id: string): Observable<VideoState> {
if (!this.aperture.browser) {
return Observable.empty();
}

/* tslint:disable: no-unused-expression */
return this.loadYoutubeApi()
.flatMap(() => this.getElement(id))
Expand Down

0 comments on commit f007820

Please sign in to comment.