Has anyone program a playlist for videos? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Has anyone program a playlist for videos?

I search suggestions

22nd Feb 2018, 3:06 PM
htmike
4 Answers
+ 1
It's basically just a container with links in it. Then just use your jQuery to load the video into the video container (or if you want it to refresh to a new page like YouTube, don't use .load) Have you already gotten started? If so, I can help point you in the right direction. It's not as complicated as it sound. However, note that you'll want to have a database or something that stores the actual list for the user's account.
22nd Feb 2018, 3:18 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
I'd like to know about it
22nd Feb 2018, 3:38 PM
Charles Ofuyo
Charles Ofuyo - avatar
+ 1
I mean to create a video html and if the video ends play another ex: playlist = ['video.mp4','video2.mp4','video3.mp4']; i = 1; $('video').ends(function(){ $(this).src(list[i]); $(this).play(); i++ })
22nd Feb 2018, 3:55 PM
htmike
0
ohh that one I don't know
22nd Feb 2018, 4:00 PM
Charles Ofuyo
Charles Ofuyo - avatar