Home / Web Engineering / HTML / Make your YouTube videos loop and autoplay

Make your YouTube videos loop and autoplay

Print Friendly, PDF & Email

How do you make your interested YouTube videos or playlist autoplay and loop forever? By googling a while, I found a way for doing this although I think that it could be difficult for a number of audiences. However, it helps me solve my need at least. Following are the steps I used to do my own simple autoplay/loop YouTube player.

Simple

Create a html page with the following content

Go on YouTube, get an video id or playlist id that you want to play. Then replace  the value following the attribute list with it (i.e. PLE-A6_CIGWSRap6TyqqHZh4V40JAtJIFV).

If you want to play a video, alter the value of the attribute src with the link in the comment below (in the snapshot) and use video id instead.

Open the html web page you have created in Google Chrome. The result would look like as the following image.

Chương trình nghe nhạc YouTube tự động và lặp lại

Chương trình nghe nhạc YouTube tự động và lặp lại

Advanced

Will be updated soon.

Functionalities should be added:

  • Allow to change videos/playlist via friendly web interface.
  • Off/On autoplay/loop.
  • Insert a customised autoplay/loop YouTube player into this page.
  • Provide downloadable materials for audiences.
  • Allow our audiences to create their own autoplay/loop YouTube player and download it.

Demo

Chương trình nghe nhạc YouTube

References

[1] YouTube Embedded Players and Player Parameters

comments

About Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don’t hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory.

Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.