LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Flash plugin doesn't work. Error installing VLC. (http://www.linuxquestions.org/questions/linux-software-2/flash-plugin-doesnt-work-error-installing-vlc-833154/)

ShellyCat 09-19-2010 02:32 AM

Flash plugin doesn't work. Error installing VLC.
 
EDIT: Mega-whoops! I copied to the directory above "plugins" and never noticed in all this time! Now copied correctly, plugin is detected, and flash plays on YouTube.

Sorry to put 2 issues in 1 post, but I only need to fix 1 issue to solve my problem (playing YouTube videos in Firefox on Linux).
  1. I installed the Adobe Flash plugin (for Linux) following Adobe's instructions (download, decompress, and copy the correct ".so" to the plugins directory).

    However, the plugin is not detected by either YouTube or Firefox (checked using "about:plugins"). Something must be wrong with Adobe's plugin version 10.x!

  2. I want to try a Firefox extension called "Download YouTube Videos as MP4 and FLV," which rewrites the YouTube pages to include a download button which allows you to directly download the video in MP4. However, it requires VLC media player on Linux.

    I have Slackware, and followed the instructions on this page (http://wiki.videolan.org/Slackware ) to use the SlackBuild from AlienBob. I set REQUIRE_YASM=NO. However, the build produces the errors below (it tries to build with yasm, and it doesn't find "libvpx.a"):

    Code:

    /bin/sh: yasm: command not found
    make[1]: *** [vp8/common/x86/idctllm_mmx.asm.o] Error 127
    make[1]: *** Waiting for unfinished jobs....
    make: *** [.DEFAULT] Error 2
        [AS] vp8/common/x86/idctllm_mmx.asm.o
    /bin/sh: yasm: command not found
    make[1]: *** [vp8/common/x86/idctllm_mmx.asm.o] Error 127
    make: *** [.DEFAULT] Error 2
    cp: cannot stat `libvpx.a': No such file or directory
    root@CPLAP:~/Programs/slackbuilds/VLC_1.1.3/build#


Help solving either one of these is much appreciated.

sag47 09-19-2010 03:05 AM

Hmmm... what path did you place libflashplayer.so? For Firefox I normally place it within /usr/lib/firefox/plugins/ if it is integrated into my system (could also be /usr/lib/firefox-3.x/plugins). Or into the firefox plugins directory when I extract the latest version to /opt/. I don't use slackware so maybe another user will be more accurate.

Are you using a 32 or 64 bit build OS (32/64 firefox?)?

Does firefox give error output when launched from the terminal about libflashplayer.so? If so please post the output.

I usually get the .tar.gz version for Linux when it comes to flash. I'm kind of a LFS DIY kinda guy though.

ShellyCat 09-19-2010 03:31 AM

Quote:

Originally Posted by sag47 (Post 4102283)
Hmmm... what path did you place libflashplayer.so?

/usr/lib/firefox-3.5.2/plugins
(FYI Firefox is upgraded to 3.6.10.)

Quote:

Are you using a 32 or 64 bit build OS (32/64 firefox?)?
32-bit

Quote:

Does firefox give error output when launched from the terminal about libflashplayer.so?
tried that...nope

Quote:

I usually get the .tar.gz version for Linux when it comes to flash.
same here

sag47 09-19-2010 04:51 AM

Do you have any extensions installed? What plugins are already available to your firefox (Run about: plugins in URL bar)? Do those plugins coincide with what *.so files within the /usr/lib/firefox/plugins dir (if not then we're probably looking in the wrong place for the plugins dir)?

If flash shows up in your about: plugins (with no space in between them) then an extension may be interfering with your flash.

According to man firefox you can run "firefox -safe-mode" and it will display more debugging information and disable all plugins. Then go to youtube and see what happens to the error output in the terminal.

smoker 09-19-2010 05:37 AM

I have the libflashplayer.so in /usr/lib/flash-plugin and there is also a symlink to it in /usr/lib/mozilla/plugins

brianL 09-19-2010 07:02 AM

Put libflashplayer.so in /usr/lib/mozilla/plugins, this makes it available for all browsers.

ShellyCat 09-21-2010 05:42 AM

Quote:

Originally Posted by sag47 (Post 4102335)
Do you have any extensions installed? What plugins are already available to your firefox (Run about: plugins in URL bar)? Do those plugins coincide with what *.so files within the /usr/lib/firefox/plugins dir (if not then we're probably looking in the wrong place for the plugins dir)?

As stated before, it doesn't show up with "about:plugins").
I will try safe mode and see what it tells me.

FYI (off-topic), in the meantime I disabled the plugin mentioned in the first post because I found another to try. (Found it on accident when I was looking for an extension no longer available that would save a list of your plugins on the website which you can use to all plugins together later in one step.) It's called TweakTube. It basically packages a bunch of other plugins/scripts together. It rewrites the YouTube page to add a bunch of buttons that allow you to download videos, among other things. You can convert/download flash as mp3 for example. It works for audio with mp3...unfortunately with mp4 (for video) the playback on my system is silent. There was an option to convert using a website, too, but that just didn't work. Pretty cool extension, though...it's nice to search Google and have 20 pages of results consolidated to 1 page...plus mouse over images and see information from the page where they are hosted! Really cool!

Well, anyway, I'll try some of the suggestions here.

ShellyCat 09-21-2010 06:15 AM

Ooops...
 
Geez, do I feel dumb...I copied it to the directory above "plugins!"


All times are GMT -5. The time now is 11:19 PM.