parent
1de3d2c954
commit
d94bcec376
5 changed files with 33 additions and 2 deletions
|
|
@ -163,6 +163,7 @@
|
|||
elevation="0"
|
||||
v-blur
|
||||
style="z-index: 10"
|
||||
:disabled="!canRecordAudio"
|
||||
v-longTap:250="[showRecordingUI, startRecording]"
|
||||
>
|
||||
<v-icon :color="showRecorder ? 'white' : 'black'">mic</v-icon>
|
||||
|
|
@ -517,6 +518,9 @@ export default {
|
|||
}
|
||||
return "top:" + top + "px;left:" + left + "px";
|
||||
},
|
||||
canRecordAudio() {
|
||||
return util.browserCanRecordAudio();
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ const State = {
|
|||
};
|
||||
import util from "../plugins/utils";
|
||||
import VoiceRecorderLock from "./VoiceRecorderLock";
|
||||
require('md-gum-polyfill');
|
||||
|
||||
export default {
|
||||
name: "VoiceRecorder",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue