LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to play youtube videos under slackware (https://www.linuxquestions.org/questions/slackware-14/how-to-play-youtube-videos-under-slackware-572867/)

dissociative 07-27-2007 08:33 PM

How to play youtube videos under slackware
 
hello I'm looking how to play youtube videos under slackware without having to use the propietary adobe flash player software.

2Gnu 07-27-2007 09:49 PM

http://osflash.org/open_source_flash_projects

The Flash players are listed near the bottom of the page.

I can't tell you if or how well they work. Adobe Flash works fine for me; I have no philosophical objection to using it.

sfaz32 07-27-2007 10:14 PM

You could try the following.

Code:

#!/bin/sh
baseurl='http://youtube.com/get_video.php?'
pageurl=$1
wget -O - $baseurl`wget -qO - $pageurl | grep player2.swf | cut -d? -f2 | cut -d\" -f1`

the code above will download the youtube video to the standard output.
Just save it as youtube.sh then chmod +x

You would run it like this:
Code:

./youtube.sh URL > FILE
Change URL and FILE to meet your needs.
Then you could use xine to play FILE while its downloading.


All times are GMT -5. The time now is 05:26 PM.