I'm dealing with an issue regarding popups. Whenever I choose "get audio from desktop" and click on "Start Recording", another browser popup appears, prompting me to make another decision (this involves selecting the screen and sharing audio). I've noticed that if I select "Sharing Audio" and click the blue "share" button, the recording begins and a modal appears stating "website is sharing the screen and audio". However, when I stop the recording by clicking the "Stop Capture" button, the modal saying "Website is sharing..." continues to appear. Can someone please assist me or clarify if it's possible to make that modal disappear when I click "Stop Capture". Thank you.
Here is the link to the codepen, the design may be a bit messy but it contains the code for the functionality. Thank you.
https://codepen.io/gian1599/pen/QWpabWK?editors=1011
Images: 1, 2, 3. I have provided detailed information about the workflow, thank you.
new Vue({
el: "#app",
vuetify: new Vuetify(),
data() {
return {
valueMicAudioToggle: false,
valueAudioToggle: false,
valuestopBtn: true,
valueCaptureBtn: false,
valueStart: false,
stream: "",
rec: ""
};
},
methods: {
startBtn() {
// Code for starting the recording
},
stop() {
// Code for stopping the recording
}
}
});
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a1d7d4c4e1938fd9">[email protected]</a>/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="07717262736e617e4735297f">[email protected]</a>/dist/vuetify.js"></script>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="36404353425f504f7604184e">[email protected]</a>/dist/vuetify.min.css" rel="stylesheet">
// HTML code