Horje
How to Loop HTML YouTube Video

Add loop=1 to let your video loop forever.

Value 0 (default): The video will play only once.

Value 1: The video will loop (forever).


What is LoopTube

Repeat YouTube Video in AB Loop

What is LoopTube:

LoopTube is a free online tool to repeat any YouTube videos. Just select YouTube videos by typing a URL in the search bar, and you can set AB loop in any point of the video. This is useful when you want to learn some kind of skills (such as languages, sports, music, etc.) by watching a specific part over and over.

Features:

Keyboard Shortcuts:

 

Example of Looping Youtube Video ibn HTML Page

Try Following Code. Add loop=1 to let your video loop forever.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<iframe width="420" height="345" src="https://www.youtube.com/embed/tgbNymZ7vqY?playlist=tgbNymZ7vqY&loop=1">
</iframe>

</body>
</html>

Output should be:

Example of Looping Youtube Video ibn HTML Page





Category:
Web Tutorial
Sub Category:
HTML YouTube Videos
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference