Posts Tagged ‘youtube’

loop a youtube video

January 28, 2017 Leave a comment

You find an awesome music video and you want to play it in an infinite loop.

You need to re-format the youtube URL a bit. Sample:



Concrete example: input, output.

Tip from here.

YouTube video to text

September 28, 2015 Leave a comment

turn off annoying YouTube annotations

August 9, 2015 Leave a comment

YouTube annotations are driving you crazy.

Turn ’em off for good. Follow these simple steps: .

Categories: tips Tags: , ,

a terminal-based YouTube player

November 2, 2014 Leave a comment

mps-youtube is a terminal-based YouTube player and downloader. If you use YouTube a lot for listening music, then you must give it a try.


Categories: python Tags: , , ,

Play Youtube videos with VLC

November 27, 2012 1 comment

Did you know that VLC media player can play Youtube videos? Neither did I. Try this:


Does Flash break all the time? Use VLC :)

Tip from here.

Categories: Uncategorized Tags: , ,

Youtube audio player

November 20, 2012 Leave a comment

At I found a nice trick to embed just a part of the Youtube Flash player, thus the player looks like an audio player. All you need is a little CSS trick:

Categories: firefox, google, html Tags: , , ,

Play a song with youtube

Say you know the artist and the title of a song and you want to get it played with youtube. How to do that?

First, let’s review what we should know about the “I’m Feeling Lucky” button (long description here). On Google Search, when you type in a search term and you hit the “I’m Feeling Lucky” button, you’ll be redirected to the first search hit. Simply it skips showing the full search result.

If instant results are activated, you can’t click on the “I’m Feeling Lucky” button. In this case visit the Preferences page and switch off the instant results.

Now, back to the original problem. Say you want to play the song “The Prodigy: Out of Space”. Use the following search term: inurl: The Prodigy Out of Space

And hit the “I’m Feeling Lucky” button. You are redirected to the video clip.

Now, let’s say you want to open this video clip from a script. You’ll have to visit the following link:'m+Feeling+Lucky&ie=UTF-8&oe=UTF-8& Prodigy Out of Space

You can try it here. Click on this link.

This trick is from here.

You collect your favourite songs in a plain text file. Each line in the file contains the artist’s name and the title of the song. Write a script that picks a random line and opens the song on youtube.