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-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 02:33 PM.