How do I play a YouTube playlist on my player?

Last updated: June 13, 2018
 
Note: These instructions are for playing a YouTube playlist.  If you want to play a single YouTube video, see How do I play a YouTube video on my player? instead.
Don't know if you're on a single video or a playlist?  See the main article, How do I display a YouTube video or playlist on my player? for guidance.
 
EXPERT SUMMARY
Lost or confused by this?  Continue reading below for step-by-step instructions.
 
YouTube playlist URL:
https://www.youtube.com/watch?v=Zsqr1HVnuDE&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
HTML Site for BrightAuthor:
https://www.youtube.com/embed/Zsqr1HVnuDE?playlist=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0&controls=0&showinfo=0&loop=1
(Start playing automatically, don't show related videos, don't show controls, don't show video info, loop the playlist)
 
 
STEP-BY-STEP INSTRUCTIONS
 1. Open the YouTube playlist in a web browser on your computer.  You should be on www.youtube.com
 
2. Look at the address bar.  We need to note the URL we are looking at.
This is a playlist and the URL is
https://www.youtube.com/watch?v=Zsqr1HVnuDE&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
 
 
3. We need to extract a few elements from the URL
First we need the ID of the current video, which is v parameter, which appears after the v= and before the following & in the URL.
https://www.youtube.com/watch?v=Zsqr1HVnuDE&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
The current video ID here is Zsqr1HVnuDE
 
4. We also need the ID of the playlist, which is the list parameter that appears after the list= in the URL.
https://www.youtube.com/watch?v=Zsqr1HVnuDE&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
The playlist ID here is PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
 
5. Now we can start constructing the URL we need.
Start with
https://www.youtube.com/embed/
Then add the current video to the end.
https://www.youtube.com/embed/Zsqr1HVnuDE
 
6. We're adding a playlist, so we add ?listType=playlist to the URL
http://www.youtube.com/embed/Zsqr1HVnuDEk?listType=playlist
 
7. Next we need to add the playlist, so add &list= to the URL we're constructing.
https://www.youtube.com/embed/Zsqr1HVnuDEk?listType=playlist&list=
 
8. Then we add the playlist ID.
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02
 
9. Now we add a series of parameters to control how the video gets displayed.  These might be different if you're displaying the video interactively, but we'll assume a non-interactive display for now.
To automatically start playing without interaction, we need to add &autoplay=1
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1
 
10. Do you want related videos to appear at the end of the video?  Probably not!  Add &rel=0 to the end.
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0
 
11. The video controls aren't useful in a non-interactive situations, turn them off by adding &controls=0 to the end.
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0&controls=0
 
12. And we don't need to pop up the video info/title either.  Add &showinfo=0 to the end.
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0&controls=0&showinfo=0
 
13. Finally, in most cases you want the playlist to loop when it reaches the end.  Add &loop=1 to the end.
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0&controls=0&showinfo=0&loop=1
 
14. Now add the URL we constructed into BrightAuthor as the URL for an HTML Site. (File>Presentation Properties, HTML Sites tab)
https://www.youtube.com/embed/Zsqr1HVnuDE?listType=playlist&list=PL1QgAgqcnXH_faB-fdX1hYaW1DVoMBC02&autoplay=1&rel=0&controls=0&showinfo=0&loop=1
 
15 . Then add an HTML5 State with Enable external data and Enable native video plane playback ticked.
Note that BrightAuthor does not know when a YouTube playlist ends, so if you want it to move to the next state after the playlist is complete, you will need to set the Time on screen value on a non-interactive HTML5 state, or put a Timeout event on an interactive HTML5 state in order to get it to move to the next item if you do not want the playlist to loop endlessly or be "stuck" at the end of the last video.
 
16 . You're done! Publish the presentation and unless the video is restricted (not all videos can be embedded, and some aren't in a compatible format for our players), your Internet connection is broken, or the player's clock isn't set (prevents HTTPS from working), it should play!
 
For more URL parameters, see the YouTube's Player Parameters page - https://developers.google.com/youtube/player_parameters
 
 
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Can't find what you're looking for? Try to
Powered by Zendesk