Plyr: Creating a playlist - Need community help

Created on 26 Sep 2017  路  3Comments  路  Source: sampotts/plyr

I am creating a playlist for Plyr, i need help with better programers than me

It should play any format audio or and video.

https://codepen.io/onigetoc/pen/VMPeNg

I really want the json to look like this for many reason

var myPlaylist = [
  {
    title: "Armin van Buuren live at Ultra Music Festival Miami 2017",
    artist: "Armin van Buuren",
    youtube: "cLcKew4cQq4",
    oga: "http://www.jplayer.org/audio/ogg/TSP-01-Cro_magnon_man.ogg",
    poster: "https://img.youtube.com/vi/cLcKew4cQq4/hqdefault.jpg"
  },
  {
    title: "2 hours Trance Music - Armin Van Buuren",
    artist: "Armin van Buuren",
    youtube: "https://www.youtube.com/watch?v=r6KXy0j85AM",
    poster: "https://img.youtube.com/vi/r6KXy0j85AM/hqdefault.jpg"
  }
]
  1. i did a lot of coding for the jPlayer playlist.
  2. I did a podcast parser here: https://github.com/onigetoc/Podcast-parser-for-jPlayer

Most helpful comment

Finally i make it work.
JSON or Youtube playlist with previous and next buttons.
https://codepen.io/onigetoc/pen/veWNbP

All 3 comments

My V4 beta version with loading Youtube playlist.
https://codepen.io/onigetoc/pen/YrZzbx

Finally i make it work.
JSON or Youtube playlist with previous and next buttons.
https://codepen.io/onigetoc/pen/veWNbP

note there is an issue same as my setup if you switch tab it won't change the song automatically and start playing it, let me know if you figure it out :) other then that awesome playlist function!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nam-co picture nam-co  路  4Comments

jwjcmw picture jwjcmw  路  4Comments

Lycanthrope picture Lycanthrope  路  4Comments

thang-nm picture thang-nm  路  4Comments

Generalomosco picture Generalomosco  路  3Comments