|
@@ -691,6 +691,9 @@ export default {
|
|
|
});
|
|
|
} else if (this.controlsStatus != 1 && this.recordedForm.status == 0) {
|
|
|
let iiframe = this.$refs["iiframe"];
|
|
|
+ iiframe.contentWindow.window.document.getElementById(
|
|
|
+ "languageOptions"
|
|
|
+ ).selectedIndex = 2;
|
|
|
iiframe.contentWindow.testdoContinuousPronunciationAssessment();
|
|
|
this.controlsStatus = 1;
|
|
|
this.recordedForm.status = 1;
|
|
@@ -826,7 +829,8 @@ export default {
|
|
|
let blob = new Blob(this.recordedForm.audioBlob,{
|
|
|
type: 'audio/mp3',
|
|
|
})
|
|
|
- this.uploadFile(blob,{changeText:false,flag:true})
|
|
|
+ let file = new File([blob],'recordedFile',{type:"text/plain"})
|
|
|
+ this.uploadFile(file,{changeText:false,flag:true})
|
|
|
iiframe.contentWindow.onSessionStopped = null;
|
|
|
}
|
|
|
|