Skip to content

I can't change the progress if the file is saved under assets/ #208

@garalimedkarim

Description

@garalimedkarim

Hi everybody,

At first, The Plugin is very useful, Thanks for the community.

But I found an issue which block my project, which is when I put the mp3 file under assets/, I couldn't change the progress when it is playing,
This Issue Appeared in Android but In Browser it works fine,

So this plugin have a problem with files which haven't a remote src, The file runs but We couldn't change the progress,

I worked with your Exemple, I just added a truck in this Array:

    this.myTracks = [{
      src: 'https://archive.org/download/JM2013-10-05.flac16/V0/jm2013-10-05-t12-MP3-V0.mp3',
      artist: 'John Mayer',
      title: 'Why Georgia',
      art: 'img/johnmayer.jpg',
      preload: 'metadata' // tell the plugin to preload metadata such as duration for this track, set to 'none' to turn off
    },
    {
      src: 'https://archive.org/download/JM2013-10-05.flac16/V0/jm2013-10-05-t30-MP3-V0.mp3',
      artist: 'John Mayer',
      title: 'Who Says',
      art: 'img/johnmayer.jpg',
      preload: 'metadata' // tell the plugin to preload metadata such as duration for this track,  set to 'none' to turn off
    },
    {
      src: 'assets/test2.mp3',
      artist: 'Karim',
      title: 'track0',
      art: 'assets/images/image.jpg',
      preload: 'metadata' // tell the plugin to preload metadata such as duration for this track,  set to 'none' to turn off
    }];
  }

Please I require a fast Solution.

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