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.
Create a html page with the following content
<title>Chương trình nghe nhạc Youtube</title>
<div id="wrapper" style="text-align: center">
<h1>Chuong trinh nghe nhac</h1>
<iframe id="ytplayer" type="text/html" width="800" height="640"
<!-- src="https://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1&loop=1" -->
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.
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.