Setting up the upload audio modal component

Inside the client/app/view-thread folder, create another folder named upload-audio-modal and inside that, create two files named upload-audio-modal.html and  upload-audio-modal.ts. Update client/app/view-thread/upload-audio-modal/upload-audio-modal.html as shown here:

// SNIPP SNIPP<div class="modal-header"> <h4 class="modal-title">Reply with Audio</h4> <button type="button" class="close" aria-label="Close" (click)="activeModal.dismiss('x')"> <span aria-hidden="true">&times;</span> </button></div><div class="modal-body"> <div class="form-group"> <div class="text-center"> <audio #audio class="audio" controls></audio> </div> <br> <button type="button" class="btn btn-success" [disabled]="isRecording ...

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.