CodePudding user response:
Video object. AddEventListener (" play ", function (e) {
Background music object. Pause ();
}, false);
Video object. AddEventListener (" pause ", function (e) {
The background music. Play ();
}, false);
CodePudding user response:
Video object. AddEventListener (" play ", function (e) {
Background music object. Pause ();
}, false);
Video object. AddEventListener (" pause ", function (e) {
The background music. Play ();
}, false);