Skip to content

Uncaught TypeError: Cannot set property 'AudioPlayer' of undefined #2

@malford89

Description

@malford89

Title says it for the most part. Used this JS in my foundation 6 project and I am getting AudioPlayer undefined for:
this.AudioPlayer = (function() {

AudioPlayer.States = {
  Ready: 0,
  Playing: 1,
  Loading: 2,
  Error: 3
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions