Skip to content

preload metadata is not preloading tracks with local files - It works only on streaming #210

@garalimedkarim

Description

@garalimedkarim

Hi everybody,

I'm working on an Ionic 3 App which playing both streaming and local files,
So, the play staff is "OK" but with local files the preload:"metadata" is not preloading my tracks (duration, etc ...),

I'm asking if there is a way to force preload for local files. Thanks

        let myPath = this.file.externalRootDirectory+track.fullPath.substr(1);
        let newTrack = {
          src: myPath,
          artist: 'John Mayer',
          title: "myTitle",
          preload: 'metadata'
        }
        this.myTracks.push(newTrack); 

For My Exemple it's playing, but not preloading data, So the data are not loaded until I click "play" for this track. :/ Can someone help me ?

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