ensuring audio only plays in proper places
This commit is contained in:
parent
4f0ab74fa1
commit
2711bde130
3 changed files with 23 additions and 5 deletions
|
@ -172,9 +172,14 @@ Item {
|
|||
}
|
||||
|
||||
function playAudio() {
|
||||
showPassiveNotification("Audio should change");
|
||||
audio.loadFile(audioSource.toString());
|
||||
}
|
||||
|
||||
function stopAudio() {
|
||||
audio.stop();
|
||||
}
|
||||
|
||||
function stopVideo() {
|
||||
mpv.stop();
|
||||
black.visible = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue