fix: AudioContext warning when loading widget on Chrome (#3956)

* fix: AudioContext warning when loading widget on Chrome

* minor fixes

* Minor fixes

* adds event on document

* Play audio from parent window through SDK

* Adds notification to dashboard

Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com>
This commit is contained in:
Sivin Varghese
2022-02-28 21:43:24 +05:30
committed by GitHub
parent eee89bf0d8
commit a3cb26a317
4 changed files with 58 additions and 11 deletions

View File

@@ -4,7 +4,6 @@ import VueI18n from 'vue-i18n';
import store from '../widget/store';
import App from '../widget/App.vue';
import ActionCableConnector from '../widget/helpers/actionCable';
import { getAlertAudio } from 'shared/helpers/AudioNotificationHelper';
import i18n from '../widget/i18n';
import router from '../widget/router';
@@ -33,5 +32,4 @@ window.onload = () => {
window.WOOT_WIDGET,
window.chatwootPubsubToken
);
getAlertAudio();
};