This topic contains 1 reply, has 2 voices, and was last updated by  Ehsan Dalvand 3 years, 2 months ago.

Audio Player

  • I followed the documentation and am still having trouble adding music, If possible can you add 10 entries to the js and e-mail it…..I can do the rest

    Thank You

    Hello there,

    Sorry for late reply.

    All you need to do is adding the song title and file address in assets/js/custom.js file. open it with any text editor and search for:

     playlistPrepare : function(){
    

    You should see songs list right below it:

     {
        title:"Thin Ice",
        mp3:"assets/music/00.mp3"
      },
      {
        title:"Thin Ice",
        mp3:"assets/music/01.mp3"
      }*//* Uncomment following line to add more musics to play list,
      {
        title:"Thin Ice",
        mp3:"assets/music/02.mp3"
      },
      {
        title:"Thin Ice",
        mp3:"assets/music/03.mp3"
      }
    

    Remove the comment and add as much as you need. For example:

    {
        title:"Thin Ice",
        mp3:"assets/music/00.mp3"
      },
      {
        title:"Thin Ice",
        mp3:"assets/music/01.mp3"
      },
      {
        title:"Thin Ice",
        mp3:"assets/music/02.mp3"
      },
      {
        title:"Thin Ice",
        mp3:"assets/music/03.mp3"
      },
      {
        title:"songs title",
        mp3:"assets/music/filename.mp3"
      }
    

    If you still had problem with it, please share the website link so I can check it.

    • This reply was modified 3 years, 2 months ago by  Ehsan Dalvand.

The topic ‘Audio Player’ is closed to new replies.