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"
}
]
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!
Most helpful comment
Finally i make it work.
JSON or Youtube playlist with previous and next buttons.
https://codepen.io/onigetoc/pen/veWNbP