The "Check this out" thread - Desktop Customization & Workflow

Users browsing this thread: 8 Guest(s)
Phyrne
Long time nixers
So, I suppose I'll get the ball rolling with something short and sweet.

Web video streaming without flash in Xombrero

This is a tiny little script I wrote that enables the user to watch YouTube videos (and videos from other sites supported by youtube-dl) from the Xombrero browser without the need of flash.

It takes the current page's URL, parses the necessary string, then streams in the highest quality to MPlayer via youtube-dl.

Why you should check it out

For anyone who doesn't have/want to use flash on their system, this is a nice, seemless solution. Assinging the script to an alias in Xombrero makes it as easy as navigating to the page, then typing `:yt` and there you have it, your media streaming in the highest quality, in an outstanding media player, from a great browser, and all without flash ;)

Resources

First off; this doesn't have to be used with Xombrero, you can use it from the shell or perhaps throgh some other means. All it needs is to have the URL passed to it as $1.

So here's the script. Just put that in a file (I place it in ~/.xombrero/ and name it "yt"), make it executable.
Then in your Xombrero config, give it an alias, like so:

Code:
cmd_alias = yt,run_script ~/.xombrero/yt

Now you can just browse to the site with the desired video and enter the command 'yt'.

Of course for this you need youtube-dl and MPlayer ;)

I've found it might not work on Daily Motion and Vimeo, but works great with YouTube and some others.

Enjoy!


Messages In This Thread
The "Check this out" thread - by Phyrne - 10-07-2013, 04:04 PM
RE: The "Check this out" thread - by Phyrne - 10-07-2013, 05:24 PM
RE: The "Check this out" thread - by kopri - 10-07-2013, 05:53 PM
RE: The "Check this out" thread - by Phyrne - 10-07-2013, 06:25 PM
RE: The "Check this out" thread - by kopri - 10-07-2013, 06:30 PM
RE: The "Check this out" thread - by Mafia - 11-07-2013, 04:54 AM
RE: The "Check this out" thread - by Phyrne - 11-07-2013, 11:00 AM
RE: The "Check this out" thread - by zygotb - 11-07-2013, 02:44 PM
RE: The "Check this out" thread - by FreeBSD - 11-07-2013, 06:02 PM
RE: The "Check this out" thread - by kopri - 11-07-2013, 06:49 PM