Saturday, June 21, 2008

Play YouTube Videos in a Loop

If you want to play a YouTube video one more time, there's a "replay" button at the end of the video or you can press the left arrow, after focusing the video.

To automate the process and play the video in an "infinite" loop, use Loopy for YouTube, a Greasemonkey script that adds a small link below the video to start the loop. The script requires Greasemonkey , a Firefox extension, and it's efficient: it doesn't reload the page to download the video again.


There's another way to play a YouTube video in a loop - use the loop parameter of the embeddable player (here's the complete list of parameters):

http://www.youtube.com/v/VIDEOID&loop=1 (replace VIDEOID with the video's ID)

If you add the autoplay parameter, the video will start to play automatically:

http://www.youtube.com/v/VIDEOID&loop=1&autoplay=1

Labels: ,

  24 comments ( Post a comment )
BTW, do you, the Google guru, know how to play Youtube in a pop-out window. Or it's not possible yet.

I would like to watch Youtube in a pop out window, while skimming text on another one

Thanks a lot.
@Hoang
Why dont you embed the video into the new window? It's so easy you'll blush why u r asking this kind of question at all.

@Alex
It's not news nor is it a nice trick either. Why do you have to post this sort of tiny tweaks? Are you out of new topics?
Not sure what "Anynymouse" wanted to say in the comment, but if you ever open a new window with full tool bar, scroll bar, status bar and other thing, paste the Youtube link into it, resize it to an appropriate window in order to read in another window, you will find that worth a question.
@Hoang:
So you want something similar to Google Reader's popout feature next to any YouTube video? A Greasemonkey script could add this feature. I'll try to create one for you.
Yes, exactly like the one in the google reader.

Happy if you could make one.

Your blog is terrific.
Here's your script. You should use Firefox and install Greasemonkey before trying the script.
http://blogamatician.com/?p=8
@Anonymous:
The bookmarklet only works at youtube.com, while my script works for any site other than youtube.com that embeds one or more YouTube videos.
@Alex: install you scrip with Greasemonkey. But did not see the "pop-out thing" as in the scrip homepage. I'm using Firefox 3.0.
Also it would be nice to have the pop-out window alway on top to make it easy when viewing with the other window (I mean the main browser window)

@anonymouse: you scrip work. Thanks
I think this script is very useful when you play music videos. It would be nice to play in a loop YouTube's playlists.
Is there any way to make multiple youtube videos play in a loop automatically right after one another?
Do you know how to stop the previews at the end of any video from you tube you post on your website, is there any script that can do this. I just want people to see the video they are playing and at the end of the video I want it to stop not showing any of the related videos YouTube puts there automatically.
Yes, edit the code and append ?rel=0 to the URLs:
http://www.youtube.com/v/VIDEOID?rel=0.
Hello!

You can try this website: LoopTube http://looptube.appspot.com
It provides great and simple function to repeat YouTube videos.
For the details instruction you can see:
http://looptube.blogspot.com/2008/11/two-simple-ways-to-loop-your-youtube.html
Sorry, I'm computer-retarded.

Where do I put the code?
Is there any way to make multiple youtube videos play in a loop automatically right after one another? no one answered this one yet. i am curious as well.
I also want to know if you can loop more than one video.
Thanks for the tip Alex.

Also, here's a tool to easily loop a YouTube playlist...

http://ia331413.us.archive.org/3/items/YoutubePlaylistLooper/youtube_playlist_looper.html
@ kalitbri

TY

Looptube works great for single videos.
You can try EndlessYouTube.
This is an online tool that you can repeat and loop part or whole of YouTube video! Also, you can try Greasemonkey version of it.
You can also try http://www.youtubeloop.com. This website allow us to search for clips on the same page, so more convenient.
adding &loop=1&autoplay=1 does not work, at least in Firefox 3.5.3
It works:
http://www.youtube.com/v/JUf1zxjR_Qw&hl=en&fs=1&loop=1&autoplay=1
I made a site that lets you search for videos or playlists by keyword, then loop them. You can change the order of videos in the playlist, remove them, and addmore. Then, if you want, you can save the new loop as your own YouTube playlist

worth checkin imo

http://playinurtubez.com