Skip to content

eqlz/distraction-free-youtube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

distraction-free-youtube

Demo

https://eqlz.github.io/distraction-free-youtube/

Original motivation

I want to watch a teaching video on programming without suggested videos on the right or comments below. Just show that one video on the page.

Especially suggested videos, I can't remember how many times I clicked a seemingly entertaining video, and being sidetracked from my original learning.

Surprised usage

You can play a music video on loop.

How it's done

Youtube IFrame Player API offers a loop parameter.

This does the trick: <iframe src="https://www.youtube.com/embed/VIDEO_ID?playlist=VIDEO_ID&loop=1">

About

Watch youtube video, without distraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published