init method
Creates a new platform player and returns a nested platform interface for communicating with that player.
Implementation
@override
Future<AudioPlayerPlatform> init(InitRequest request) async {
if (players.containsKey(request.id)) {
throw PlatformException(
code: "error",
message: "Platform player ${request.id} already exists");
}
final player = Html5AudioPlayer(id: request.id);
players[request.id] = player;
return player;
}