mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -180,6 +180,15 @@
|
||||
<button hidden (click)="startRecording()">Start Recording</button>
|
||||
<button hidden (click)="stopRecording()">Stop Recording</button>
|
||||
|
||||
<audio *ngIf="audioRecorded" controls [src]="audioRecorded">
|
||||
</audio>
|
||||
|
||||
<audio controls>
|
||||
<source src="assets/audio/Audiorecord.mp3" type="audio/ogg">
|
||||
<source src="assets/audio/Audiorecord.mp3" type="audio/mpeg">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
|
||||
<div class="width-100">
|
||||
<span *ngIf="!lastAudioRecorded">{{durationDisplay}}</span>
|
||||
<span *ngIf="lastAudioRecorded" (click)="playFile(lastAudioRecorded)">{{lastAudioRecorded}}</span>
|
||||
|
||||
Reference in New Issue
Block a user