Skip to content

Commit 993a1d9

Browse files
feat: add play with Docchula Player (#31)
Co-authored-by: Siwat T. <keen@keendev.net>
1 parent 79745d7 commit 993a1d9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/app/home/course/course.page.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,21 @@
2828
<ion-text color="medium">
2929
<p>
3030
{{ currentVideo.title }} - {{ currentVideo.lecturer }}<br/>
31-
<span class="ion-hide-md-down">
32-
<strong>Hotkeys</strong>&emsp; Space: Pause, ▲/▼: Volume, ◄/►: Seek, F: Fullscreen |
33-
</span>
3431
<ion-button (click)="setPlaybackSpeed()" (keyup)="setPlaybackSpeed()" fill="outline" size="small" tabindex="0" class="set-playback-speed-button">Set playback speed</ion-button>
32+
<span>
33+
| <a [href]="sanitize('//player.docchula.com/?url='+currentVideo.sourceExternal)" rel="noreferrer" target="_blank">
34+
Play with Docchula Player</a>
35+
</span>
3536
<span *ngIf="isAndroid && currentVideo.sourceExternal">
3637
| <a [href]="sanitize('intent:'+currentVideo.sourceExternal+'#Intent;S.title='+encodeURIComponent(currentVideo.title)+';package=com.mxtech.videoplayer.ad;end')" rel="noreferrer">Play with MX Player</a>
3738
</span>
3839
<span *ngIf="(isIos || isAndroid) && currentVideo.sourceExternal">
3940
| <a [href]="sanitize('vlc://'+currentVideo.sourceExternal)" rel="noreferrer">Play with VLC</a>
4041
</span>
4142
</p>
43+
<p class="ion-hide-md-down small-text">
44+
<strong>Hotkeys</strong>&emsp;&ensp; Space: Pause, ▲/▼: Volume, ◄/►: Seek, F: Fullscreen
45+
</p>
4246
</ion-text>
4347
<ion-card *ngIf="currentVideo.sources.length === 0" color="warning">
4448
<ion-card-header>

0 commit comments

Comments
 (0)