Adam Oudad

Adam Oudad

(Machine) Learning log.

2 minutes read

I wrote a youtube playlist generator in javascript. TubeChiller is a tool for automatically play youtube videos provided in a list of urls.

Credit: https://pixabay.com/images/id-3080834/

Credit: https://pixabay.com/images/id-3080834/

Background

I have been browsing youtube and ended up with a significant amount of youtube urls in my bookmarks, that point to musics or podcasts.

There exists many program that can play youtube videos, such as VLC or Totem. You can provide a single url and it will be played within the program.

It is also possible to create your own playlist on Youtube, and even create it with their API, which I have tried unsuccessfully.

Yet my needs were very specific: I have a bunch of youtube video links and I would like to make it into a list of videos automatically played in sequence. That is why I created TubeChiller.

Description

You just need to input a list of youtube video links, each making one line of text. The code in Javascript will parse the text input and create a list of videos that will be played sequentially using the Player API for Iframe embeds.

The standalone application consists in a simple HTML page with a player.js script which manages calls to the API.

Feedbacks and help

…are welcome! Please feel free to report any feedback, ideas, and help. Thanks.

Also published on Medium.com

comments powered by Disqus

Recent posts

See more

Categories

About

This website is a weblog were I write about computer science, machine learning, language learning.