Kasperian Moving Parts

kinda like Batman, but with a wife and 3 kids

Google Video Player For Linux

| 10 Comments

Got your attention, did I?

I run Linux on my Apple G4 Powerbook, which means that I don’t have the luxury of such niceties as… oh, I don’t know… FLASH!?!?! So I was happy to find that even though I can’t view Google Video’s Flash-based movies, I can easily enough still play them on my G4 Powerbook running PPC Linux. I whipped up a very simple and quick little script for it, as follows:

#!/bin/bash

PLAYER=kaffeine

INFILE=$*
TMPFILE=”/tmp/$(basename $0).tmp”
echo “got->${INFILE}< -... going to work..." cp "${INFILE}" "${TMPFILE}" URL=$(grep 'url' ${TMPFILE} | sed 's,url:,,' ) ${PLAYER} "${URL}"

I then saved in in ~/bin/google-video-player.sh and chmod +755’d it. I then clicked on the download link on google video’s pages, told Konqueror (or Firefox, Opera, etc., etc.) to open the file with my little script, and sat back and enjoyed as kaffeine (or xine or whatever you like to use) opened up and played the video for me.

Now, Google, don’t you think it would be very non-evil of you to provide a player for Linux PPC yourself? =;)

Author: Jason 'vanRijn' Kasper

My name is Jason 'vanRijn' Kasper. I am the ring leader of the amazing Kasper family. I am unashamedly a Christian Nerd. These are our stories....

10 Comments

Leave a Reply

Required fields are marked *.


 

This site uses Akismet to reduce spam. Learn how your comment data is processed.