view src/app/audio-file-open/audio-file-open.component.html @ 132:36f57a21637c

Add a service for audio recording which uses relies on being provided implementations of a provider to a MediaStream and a MediaRecorder. Include a stub for use when recording isn't supported.
author Lucas Thompson <dev@lucas.im>
date Mon, 20 Mar 2017 13:24:36 +0000
parents 0571cf863026
children cf4a17efb5d4
line wrap: on
line source
<input #open type="file" accept="audio/*" (change)="decodeAudio($event.target.files)"/>
<button md-icon-button (click)="openAudioDialog()">
    <md-icon>folder_open</md-icon>
</button>