What are all the different ways a playlist can be made?

Am I leaving out ant?
https://jsfiddle.net/aw65egh8/

const playlist = ["mnfmQe8Mv1g", "M7lc1UVf-VE", "-Xgi_way56U", "CHahce95B1g"],

const playlist = "0dgNc5S8cLI,mnfmQe8Mv1g,-Xgi_way56U,CHahce95B1g";

const playlist: "Nbp8XZnzfT8,mnfmQe8Mv1g,-Xgi_way56U,CHahce95B1g" +
        ",u8hvzxYSPjQ,PEJpJ1UKQpg,pIuWymsUuk0,qYEooPeyz5M,qYEooPeyz5M"
listType: "playlist",
list: "TLGG73CXTCcjc1kxMzA4MjAyMQ"

playlist: ["mnfmQe8Mv1g", "M7lc1UVf-VE", "-Xgi_way56U", "CHahce95B1g"],

playlist: "0dgNc5S8cLI,mnfmQe8Mv1g,-Xgi_way56U,CHahce95B1g",

playlist: "Nbp8XZnzfT8,mnfmQe8Mv1g,-Xgi_way56U,CHahce95B1g" +
        ",u8hvzxYSPjQ,PEJpJ1UKQpg,pIuWymsUuk0,qYEooPeyz5M,qYEooPeyz5M"

The configuration that we set for playlists can be in many different ways as seen above.
When it’s in an array, that is for our own convenience. It up to us to figure out things from there.

The only valid configuration that the youtube iframe allows is a comma-separated list, as we are instructed at https://developers.google.com/youtube/player_parameters#playlist

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.