Skip to content

Instantly share code, notes, and snippets.

@kikill95
Created March 17, 2016 20:53
Show Gist options
  • Select an option

  • Save kikill95/077034963f270e2227c5 to your computer and use it in GitHub Desktop.

Select an option

Save kikill95/077034963f270e2227c5 to your computer and use it in GitHub Desktop.
Klim
<ion-navbar *navbar>
<ion-title>
{{getChosenVideo().title || 'Holograms'}}
</ion-title>
</ion-navbar>
<ion-content class="home">
<ion-card *ngFor="#video of video.getVideos()">
<ion-card-header (click)="chooseVideo(video);">
{{video.title}}
</ion-card-header>
</ion-card>
<div class="video-overlay" [hidden]="!getChosenVideo().title">
<ion-icon name="close" (click)="chooseVideo({});" primary></ion-icon>
<video src="{{getChosenVideo().src}}" controls></video>
</div>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment