apache / cordova-plugin-media

Apache Cordova Media Plugin
https://cordova.apache.org/
Apache License 2.0
388 stars 767 forks source link

Windows - new Audio() -> Not implemented #343

Closed dev-gml closed 1 year ago

dev-gml commented 2 years ago

Issue Type

Description

Information

I am trying to play a .wav file in my cordova app on Windows (UWP). On iOS it works, but on Windows it won't play and I get an exception in MediaProxy.js line 68 -> new Audio(). The exception says "Not implemented". Any suggestions what I can do to fix it?

Command or Code

Creating new media object and playing it:

let media = new Media(audio/${file}.wav); if(media) { media.play(); }

Error ager media.play() in MediaProxy.js line 68: thisM.node = new Audio(); -> Not implemented

Environment, Platform, Device

Windows 10 "cordova-windows": "^6.0.1"

Version information

Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins

Checklist

erisu commented 1 year ago

Cordova Windows has been deprecated and is no longer supported making this issue obsolete.