Skip to content

Audio Object URL as Array #497

Open
@danpastori

Description

@danpastori

Discussed in #496

Originally posted by danpastori May 4, 2022

👉 Describe the problem

Instead of providing an individual URL for an audio file, allow for the url key to be an array or a single url. This will allow us to define fallback URLs for MP3 or WAV and possibly future formats.

👥 Problem evidence & reach

Anyone who has fallback URLs

🥰 Describe the "impact" on users?

Ability to set fallback URLs will allow for multiple file types to be set up for an audio object.

🏆 How to solve this problem

When initializing AmplitudeJS, audio objects can contain an array of audio files.

💯 How do we validate the problem is solved?

Fallback URLs are supported

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready for Development

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions