LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't play youtube videos (https://www.linuxquestions.org/questions/linux-newbie-8/cant-play-youtube-videos-608978/)

vinic222 12-24-2007 09:28 PM

Can't play youtube videos
 
When play youtube video in knoppix5.1 live cd message says 'javascript turned off or I have an old version of adobe falsh player. How do I turn on javascript, should I download .tar.gz, .rpm or YUM adobe flash file ?

roy_lt_69 12-25-2007 12:30 AM

In Firefox try Edit-->Prferences-->Content.

vinic222 12-25-2007 09:34 AM

Konqueror browser 'Edit' doesn't have 'preferences', 'properties' is greyed out. Downloaded firefox, saved firefox.tar.gz file. Double-clicked file but doesn't install. Where can I find info on how to install this file?

vinic222 12-25-2007 09:52 AM

Went to iceweasel browser,Edit,Preferences,Contents - java and javascript are enabled. Clicked download link for adobe flash player at Youtube. Should I download .tar.gz, .rpm or YUM file and how do I install ?

masonm 12-25-2007 10:08 AM

Download the tar.gz file, extract it, and run the installer.

vinic222 12-25-2007 02:47 PM

Downloaded file to desktop (install_flash_player_9_linux), rt click, chose extract to home/knoppix, rt click and no option to install, some options are -> open in new window, open in new tab, open with kaffeine, compress etc. Clicked folder and 2 files open, flashplayer-installer (shell script) and libflashplayer.so (shared libary). clicked shell script file and it just winks.

vvopenka 12-25-2007 06:39 PM

Start console and go to the folder, where you extracted the file. In your case it's home/knoppix
Code:

cd /home/knoppix
Than log in as root
Code:

su
and type in you password.

Than install the file
Code:

./flashplayer-installer

vinic222 12-25-2007 09:33 PM

Typed su xxxxxxxx (pw), got unknown id. Is this 'root login' line ?

mcmillan 12-26-2007 03:04 PM

It's su as one line, after you press enter it will ask for the password.

After the flashplayer is installed I think you should be able use it in konqueror as well.

vinic222 12-26-2007 03:54 PM

knoppix@Knoppix:~$ su
root@Knoppix:/ramdisk/home/knoppix# 12345
bash: 12345: command not found
root@Knoppix:/ramdisk/home/knoppix# ./flashplayer-installer
bash: ./flashplayer-installer: No such file or directory

password 12345 was not accepted.

mcmillan 12-26-2007 04:50 PM

It looks like the root password is not active, since it took you directly to the root command line without the password. Are you sure that's the location of the extracted file? You said you went into a folder, which means it wouldn't be /home/knoppix, but /home/knoppix/[folder name]. The period in the command ./flashplayer-installer just means the current directory.

eighty 12-26-2007 05:17 PM

How do I watch you tube videos on ubuntu?
 
I just installed unbuntu on my computer and can't watch you tube videos! :( I am very new to the whole Linux thing, so please explain to me how to install the correct plug in i'll need to watch Youtube videos. Sorry for the hassle, I know I need to,and am willing to, adjust the Linux world. Linux rocks!

vinic222 12-26-2007 05:31 PM

The downloaded file is install_flash_player_9_linux.tar.gz. It was moved to a folder of the same name. Extracted files from the download (there it's a folder not a file) and got 2 files flashplayer-installer ,a shell script and libflashplayer.so a shared library. I had tried the command with the folder name preceeding the installer file but the file could not be found.

history:

root@Knoppix:/ramdisk/home/knoppix# 12345
bash: 12345: command not found
root@Knoppix:/ramdisk/home/knoppix# ./flashplayer-installer
bash: ./flashplayer-installer: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# ./install_flash_player_9_linux./flashplayer-installer
bash: ./install_flash_player_9_linux./flashplayer-installer: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# ./install_flash_player_9_linux
bash: ./install_flash_player_9_linux: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# /install_flash_player_9_linux
bash: /install_flash_player_9_linux: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# install_flash_player_9_linux
bash: install_flash_player_9_linux: command not found
root@Knoppix:/ramdisk/home/knoppix# exit
exit
knoppix@Knoppix:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
knoppix@Knoppix:~$ cd /home/knoppix
knoppix@Knoppix:~$ su
root@Knoppix:/ramdisk/home/knoppix# ./install_flash_player_9_linux.tar.gz
bash: ./install_flash_player_9_linux.tar.gz: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# ./flashplayer-installer.tar.gz
bash: ./flashplayer-installer.tar.gz: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# flashplayer-installer.tar.gz
bash: flashplayer-installer.tar.gz: command not found
root@Knoppix:/ramdisk/home/knoppix# /flashplayer-installer.tar.gz
bash: /flashplayer-installer.tar.gz: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# /flashplayer-installer
bash: /flashplayer-installer: No such file or directory
root@Knoppix:/ramdisk/home/knoppix# .flashplayer-installer
bash: .flashplayer-installer: command not found
root@Knoppix:/ramdisk/home/knoppix# /flashplayer_installer
bash: /flashplayer_installer: No such file or directory

mcmillan 12-26-2007 06:48 PM

eighty, take a look at ubuntuguide.org That link goes to the section on browser plugins, the whole site is good if you're just starting out on ubuntu. The plugin you need is the flash plugin

vinic22, this line was closest to what you need:
root@Knoppix:/ramdisk/home/knoppix# ./install_flash_player_9_linux./flashplayer-installer

I think you just had a typo with the period at the end of the folder name.

whk 12-26-2007 07:39 PM

vinic222 there's alot of basics to learn
Usually downloading on Knoppix it is found on your Desktop. You can probably see it on your screen.
# cd /Desktop
# tar -zxvf install_flash_player_9_linux.tar.gz.
# cd install_flash_player_9_linux/
# ls
now you can see libflashplayer.so
copy this to the iceweasel browser plugin file

# cp libflashplayer.so /usr/lib/mozilla-firefox/plugins/

You see firefox is now iceweasel. You can do your research on it.
Also study the command line commands.
Knoppix su root does not require your password.
Although some utilities or apps ask for it.
The mozilla-firefox file might not be the correct file dunno.
But it needs to be in the iceweasel browser plugin file.
hth

Could be /usr/lib/iceweasel/plugins
check out
#locate /usr/lib/iceweasel/plugins
and it should be there.

vinic222 12-27-2007 12:04 AM

See next post.

vinic222 12-27-2007 06:48 PM

knoppix@Knoppix:~$ su
root@Knoppix:/ramdisk/home/knoppix# cd ./Desktop
root@Knoppix:/ramdisk/home/knoppix/Desktop# tar zxvf install_flash_player_9_linux.tar.gz
install_flash_player_9_linux/
install_flash_player_9_linux/flashplayer-installer
install_flash_player_9_linux/libflashplayer.so
root@Knoppix:/ramdisk/home/knoppix/Desktop# cd install_flash_player_9_linux
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# ls
flashplayer-installer libflashplayer.so
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# locate /usr/lib/iceweasel/plugins
locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old
/usr/lib/iceweasel/plugins
/usr/lib/iceweasel/plugins/libjavaplugin.so
/usr/lib/iceweasel/plugins/libunixprintplugin.so
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# cp libflashplayer.so /usr/lib/iceweasel/plugins/libjavaplugin.so
cp: overwrite `/usr/lib/iceweasel/plugins/libjavaplugin.so'?

Should I overwrite ?

vinic222 12-27-2007 06:58 PM

Post deleted because of repeat.

mcmillan 12-27-2007 11:41 PM

You should copy it into the folder, not over another plugin. The command should be:
cp libflashplayer.so /usr/lib/iceweasel/plugins/

vinic222 12-28-2007 09:23 AM

Thanks, the install worked, however when I listed the iceweasel plugins after the installation the libflashplayer.so was not in the list:


Code:

root@Knoppix:/ramdisk/home/knoppix/Desktop# cd install_flash_player_9_linux/
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# ls
flashplayer-installer  libflashplayer.so
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# locate /usr/lib/iceweasel/plugins
locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old
/usr/lib/iceweasel/plugins
/usr/lib/iceweasel/plugins/libjavaplugin.so
/usr/lib/iceweasel/plugins/libunixprintplugin.so
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# cp libflashplayer.so /usr/lib/iceweasel/plugins/
root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux# locate /usr/lib/iceweasel/plugins
locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old
/usr/lib/iceweasel/plugins
/usr/lib/iceweasel/plugins/libjavaplugin.so
/usr/lib/iceweasel/plugins/libunixprintplugin.so

root@Knoppix:/ramdisk/home/knoppix/Desktop/install_flash_player_9_linux#

Is there a site where I can learn this type of stuff or do I just have to learn the commands using 'man'.

sonichedgehog 12-28-2007 10:22 AM

Is there a way to get noatun as an Iceweasel plugin? I ask this because (1) I have flashplayer, confirmed in \iceweasel\plugins and the youtube videos like others play as though the browser is updating an image every second, and with no sound. I have suspected both my installation and my slow computer but noatun is working well on sound & video, thus ruling out those options. (2) Konqueror throws up error messages and still won't play the videos.

The following is the content of /usr/share/apps/noatun:
alsaplayerui.plugin ffrs.plugin luckytag.plugin net.plugin skins tylerstates
blurscope.plugin htmlexport.plugin lyrics.plugin noatunui.plugin splitplaylist.plugin voiceprint.plugin
charlatanui.plugin icons lyricsui.rc oblique splui.rc wakeup.plugin
dcopiface.plugin infrared.plugin madness.plugin oblique.plugin synaescope.plugin wavecapture.plugin
dub.plugin kaiman.plugin magictable obliqueui.rc systray.plugin winskin.plugin
eq.preset kaimanui.rc marquis.plugin pitchablespeed.plugin systrayui.rc yhconfig.kcfg
excellent.plugin keyz.plugin metatag.plugin simple.plugin tippecanoe.plugin
excellentui.rc kjofolui.plugin monoscope.plugin simpleui.rc tyler.plugin

I am still fairly new to this so regret unable to even identify the executable file. There are no lib* or *.so files here but lots of plugins including as you see net.plugin- I don't imagine that simply copying into \iceweasel\plugins then edit-preferences will do it but hope it's something like that. Any suggestions please? And if I get there first I'll post the result.-Phil

vinic222 12-31-2007 03:20 PM

I'm new to linux and can't answer your question, hope someone else will. :newbie:

sonichedgehog 01-05-2008 05:39 AM

I run Debian not Knoppix but I think I ran into almost same problem. (Before you do anything you need to make sure you are working with the right privileges- it's easy on Debian you just $su root(switch user to root) but with some distros any user who is administrator uses "sudo" I haven't used Ubuntu (where root user is inactive by default) long enough to advise and never done Knoppix- this is part of the basics referred to by whk and essential, else you'll find LInux frustrating.

On Debian, Firefox is rebranded Iceweasel (for legal issues relating to Mozilla I think)but the mozilla directories are still present along with iceweasel.

Presumably you have the tarball unzipped into its directory ok- check that by cd'ing to the directory in terminal, you will see only 2 files, flashplayer-installer (or something like that, its an executable) and libflashplayer.so. Then you do the ./flashplayer-installer (as the instructions on the adobe website say). If nothing happens you are either not in the correct directory or don't have the user privileges.

The installer will then run & prompt you for the location of your browser file. useing #whereis iceweasel I found the location for iceweasel, I THINK from memory it was /usr/lib/iceweasel (I'm at a different computer at the moment) not the /usr/lib/mozilla suggested by the installer. After that the installation was fine. If that doesn't work for you please post again as I'll check exactly where the correct directory was.

btw I used to think that you couldn't beat windows for media stuff but now that video & sound from internet is working I'm satisfied that you can have everything you need on Linux & once you've been using it a while it isn't too difficult but there is a very steep learning curve. After nearly 3 months I only just get by with a mix of intuition, reading manuals, surfing, experimenting, copying all the results down (terminal output, system messages, relevant files, useful posts, things that worked, things that didn't) as I go and finally asking for help here- which has always been given!

-Phil

eighty 01-06-2008 10:47 AM

I know this is a stupid question, but...
 
I am about as green when it comes to linux as a person can get. I don't even know how to get to the command bar! Its there a good reference book on Linux that I can read? In the meantime, how do I get to the command line so I can install the correct plugin I need to watch You tube videos? Thanks for all your help!

sonichedgehog 01-06-2008 03:24 PM

Eighty, try http://tldp.org/LDP/intro-linux/html/ also http://www.faqs.org/docs/Linux-HOWTO...nux-HOWTO.html & take it from there. Actually I'll need to reread them, after 3 months of playing I might get more out of them now. You're on Ubuntu? The stuff in the intro about downloading and compiling applications is a good start but I suggest that, with the exception of flashplayer, you only get your new apps from synaptic (on the menu) at the beginning. Ubuntu is based on Debian so I think it has a package manager that stores a "sources" file, with several internet locations for new packages- synaptic will list all of them, you choose something & hit "apply". A little later, you will go into "terminal" (also on the menu, the Linux equivalent of DOS command prompt but much better in my opinion) & use apt-get & other commands, as a faster option.

The little problem I had with Debian is that the flashplayer they give you is OK for many website ads but not for Youtube & other videos, and there wasn't an update from synaptic, so the program has to be obtained from Adobe. Google "Adobe Flashplayer". At the mo you won't know which of the 3 to choose, 7.5 in the intro gives you some clues but here's a head start, for Ubuntu its a zip file which in Linux has a "z" at the end. Get it on the desktop and right click it gives you unzip options, now you have a directory with the new files in it, see my previous post.

The terminal is one of the menu options. I guess you know how to get around in a windows prompt, the linux eqivalent is ls- learn that from the above manuals. You need to be in the directory that has the new flashplayer files, here's another head start, its usually something like /home/<your user name>/desktop/adobe_flashplayer- but you really do need to get used to navigating around. See previous post for what happens next- in Ubuntu I think you will need to use "su" or more likely "sudo" to get the right privileges for this but regret I've not used Ubuntu enough to advise. Hopefully someone else can guide you here.

You seem to have a working distro so that's a result. Other issues will come up, after the intro you will be able to do lots of background reading just by surfing and searching within LQ- when that fails ask a question here.

vinic222 01-07-2008 10:35 PM

To access the command console (Konsole in mepis) click the 3rd icon (a monitor) from the bottom left of your Mepis screen. The word 'System' appears. Then click the 'Terminal Program' (konsole) menu item at the bottom of the displayed menu list. This brings up the konsole window which is equivalent to command console in windows.
Just did my 1st installation of linux (mepis7) to hard drive from live cd. Much simpler and quicker than windows.

js72 01-07-2008 11:05 PM

Automatix
 
For every newbie out there i recommend to use automatix (ubuntu):
www.getautomatix.com
You will get all those codecs,flash...things very easy way.

vinic222 01-11-2008 11:15 AM

eighty, a quick way is to click the youtube video you want to play. A colored note will appear at the top right or left of the page saying something like 'plugins need to be installed'. Click that message and plugin will be automatically installed. Click OK and Video should then play.

eighty 01-16-2008 11:27 AM

I finally got you tube videos to play! :) :)
 
I finally got you tube videos to play on Ubuntu! I went to the canonical launch pad and found a link to the .deb version of adobe flash player 9. I clicked on it, and it was automatically downloaded and installed on my computer. Thanks for your help with my problem. I was just too unfamilair with Linux to be able to use it. I bought Brian Proffits books Introducing Ubuntu: Desktop Linux and reading his book has really helped me a lot.

Thanks for the advice I got here to get a book on linux. It is indeed true that one of the best things about Linux is the awesome forums where people can get help with their questions. Long live Linux!!

Mckinz 10-13-2010 05:05 PM

Can't Watch Youtube Videos in SimplyMepis 3.4
 
Hi All,

Recently I have installed SimplyMepis 3.4 in my old PC. I liked it except I cannot view Youtube videos (Flash Player needs to be updated) & cannot view my Yahoo emails because Firefox needs to be updated as well.

Can someone guide/help me?

Thank you very much.

Gerard


All times are GMT -5. The time now is 08:21 AM.