Closed whitershade closed 6 years ago
Using v 1.2.2
To reproduce: Try to play unsupported file. See the developer console.
soundCloudAudio.play() returns undefined and we cannot handle this exception
Expected: According to https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play soundCloudAudio.play() returns promise and we can handle this exception
Using v 1.2.2
To reproduce: Try to play unsupported file. See the developer console.
soundCloudAudio.play() returns undefined and we cannot handle this exception
Expected: According to https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play soundCloudAudio.play() returns promise and we can handle this exception