<ion-header>
  <ion-toolbar color="primary">
    <ion-buttons slot="start">
      <ion-button (click)="dismiss()">
        <ion-icon slot="icon-only" name="arrow-back"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>{{course?.title}}</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content class="ion-padding">
  <video controls autoplay style="width: 100%;">
    <source [src]="videoUrl" type="video/mp4">
    您的浏览器不支持视频播放
  </video>

  <ion-button expand="block" (click)="dismiss()" style="margin-top: 20px;">
    完成训练
  </ion-button>
</ion-content>