-
Notifications
You must be signed in to change notification settings - Fork 13
TypeError: 'undefined' is not a function #3
Copy link
Copy link
Open
Description
I have this error undefined is not a function when using Audia in iPad and iPhone.
Works good in chrome and others browsers...
[code]
this.playCorrectSound = function (){
var correctSound = new Audia();
correctSound.volume = 30;
correctSound.src = "assets/Uploads/audio/correct.mp3";
correctSound.play();
}
[/code]
if print correctSound before call play, have this
Object
_currentTime: 0
_duration: 0
_gain: null
_id: 1
_muted: false
_onendedTimeout: null
_playing: false
_source: null
_startTime: null
_volume: 1
src: "assets/Uploads/audio/correct.mp3"
volume: 30
proto: —
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels