sorry, i am more or less new to inonic. my problem: i can make the audio player work. thats fine. now i want to set the audio src dynamically from an ajax call. when i use
this.singleTrack = { src: 'https://archive.org/download/swrembel2010-03-07.tlm170.flac16/swrembel2010-03-07s1t05.mp3', artist: 'Stephane Wrembel', title: 'Stephane Wrembel Live', art: 'assets/img/Stephane.jpg', preload: 'metadata' // tell the plugin to preload metadata such as duration for this track, set to 'none' to turn off };
i can't overwrite src afterwards. if i set this.singleTrack in the ajax success, it seems to be to late.
sorry, i am more or less new to inonic. my problem: i can make the audio player work. thats fine. now i want to set the audio src dynamically from an ajax call. when i use
this.singleTrack = { src: 'https://archive.org/download/swrembel2010-03-07.tlm170.flac16/swrembel2010-03-07s1t05.mp3', artist: 'Stephane Wrembel', title: 'Stephane Wrembel Live', art: 'assets/img/Stephane.jpg', preload: 'metadata' // tell the plugin to preload metadata such as duration for this track, set to 'none' to turn off };
i can't overwrite src afterwards. if i set this.singleTrack in the ajax success, it seems to be to late.