Nov 7, 2009

Flash Plugin Problem - need help getting flash to work

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Operating Systems > Linux

Flash Plugin Problem - need help getting flash to work

BitShift
Hey guys I am running a Red Hat Fedora Core 5 installation of Linux.

I'm posting this on my windows partition though because i can't get linux to install the flash plugin!

I have tried the following browsers:

FireFox
Mozilla
Konquerer

I do the automatic install for each browser and still when the browser restarts the flash plugin doesnt work

I even did the manual install for each browser by downloading the plugin off their website and then entering the main directory of every web browser i want to install it to and it still isnt working

any suggestions or help would be very much appreciated. its causing me alot of problems, my biggest upset is i cant log on to any forums including astahost!

since it seems like most forums use a flash script for the login

any help or suggestions would be very much appreciated, i have tried everything i could think of and nothing will work

im sure some1 out there has had a similar problem

Comment/Reply (w/o sign-up)

souradipm
I don't have that problem, but I can tell you, when you go yo a site with flash, usually Firefox tells you that you must download a plugin. Flash Player doesn't come with browsers. Try a quick install of FireFox and install when neccessary. Also, logon on forums use PHP, not Flash smile.gif

Hope this helps,
souradipm

Comment/Reply (w/o sign-up)

xboxrulz
Open up the Firefox launch script (/usr/bin/firefox) using any text editor.

Make sure the script looks like this:
QUOTE

#!/bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright © 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Wolfgang Rosenauer <wolfgang.rosenauer@suse.de>
#

##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.

cmdname=`basename $0`

##
## Variables
##
MOZ_DIST_BIN="/usr"
MOZ_DIST_LIB="/usr/lib/firefox"
MOZ_APPNAME="firefox"
MOZ_PROFILE=".mozilla/firefox"
MOZ_PROGRAM="$MOZ_DIST_LIB/$MOZ_APPNAME-bin"

mozilla_lib=`file $MOZ_PROGRAM | awk '{ print $3 }'`
case $mozilla_lib in
64-bit)
LIB=lib64
;;
*)
LIB=lib
;;
esac
BROWSER_PLUGIN_DIR=/usr/$LIB/browser-plugins
if [ ! -d $BROWSER_PLUGIN_DIR ]; then
BROWSER_PLUGIN_DIR=/opt/netscape/plugins
fi

# AOSS
AOSS=$(which aoss)


# Force use of GTK+ 2.0 for Flash player to get better performance
# (no impact when using mozilla gtk1 build
#
export FLASH_GTK_LIBRARY=libgtk-x11-2.0.so.0

# ignore composite extension
export XLIB_SKIP_ARGB_VISUALS=1

# Pango support
if [ -z "$MOZ_ENABLE_PANGO" -a -z "$MOZ_DISABLE_PANGO" ]; then
case "${LC_ALL-${LC_CTYPE-${LANG-en_US}}}" in
bn*|gu*|hi*|km*|kn*|ml*|mr*|pa*|ta*|te*) # list of languages which need pan
go
;;
*)
export MOZ_DISABLE_PANGO=1 # disable by default
;;
esac
fi

##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="$MOZ_DIST_LIB"
export MOZILLA_FIVE_HOME

##
## Set LD_LIBRARY_PATH
##
if [ "$LD_LIBRARY_PATH" ]
then
LD_LIBRARY_PATH=$MOZ_DIST_LIB/plugins:$MOZ_DIST_LIB:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZ_DIST_LIB/plugins:$MOZ_DIST_LIB
fi
export LD_LIBRARY_PATH

## Make sure that we set the plugin path for backwards compatibility
## Set MOZ_PLUGIN_PATH to $HOME/.mozilla/plugins if not set
##
if [ -z "$MOZ_PLUGIN_PATH" ]; then
export MOZ_PLUGIN_PATH=$MOZILLA_FIVE_HOME/plugins:$BROWSER_PLUGIN_DIR
if [ "$HOME" ]; then
export MOZ_PLUGIN_PATH=$HOME/$MOZ_PROFILE/plugins:$MOZ_PLUGIN_PATH
fi
else
# make sure that BROWSER_PLUGIN_DIR is in MOZ_PLUGIN_PATH
echo "$MOZ_PLUGIN_PATH" | grep "$BROWSER_PLUGIN_DIR" 2>&1 >/dev/null
_retval=$?
if [ ${_retval} -ne 0 ]; then
export MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:$BROWSER_PLUGIN_DIR
fi
fi

moz_pis_startstop_scripts()
{
MOZ_USER_DIR="$MOZ_PROFILE"
# MOZ_PIS_ is the name space for "Mozilla Plugable Init Scripts"
# These variables and there meaning are specified in
# mozilla/xpfe/bootstrap/init.d/README
MOZ_PIS_API=2
MOZ_PIS_MOZBINDIR="$MOZ_DIST_LIB"
MOZ_PIS_SESSION_PID="$$"
MOZ_PIS_USER_DIR="${MOZ_USER_DIR}"
export MOZ_PIS_API MOZ_PIS_MOZBINDIR MOZ_PIS_SESSION_PID MOZ_PIS_USER_DIR

case "${1}" in
"start")
for curr_pis in "$MOZ_DIST_LIB/init.d"/S* "${HOME}/${MOZ_USER_DIR}/init.d"
/S*; do
if [ -x "${curr_pis}" ]; then
case "${curr_pis}" in
*.sh) . "${curr_pis}" ;;
*) "${curr_pis}" "start";;
esac
fi
done
;;
"stop")
for curr_pis in "${HOME}/${MOZ_USER_DIR}/init.d"/K* "$MOZ_DIST_LIB/init.d"
/K*; do
if [ -x "${curr_pis}" ]; then
case "${curr_pis}" in
*.sh) . "${curr_pis}" ;;
*) "${curr_pis}" "stop";;
esac
fi
done
;;
*)
echo 1>&2 "$0: Internal error in moz_pis_startstop_scripts."
exit 1
;;
esac
}

## Start addon scripts
moz_pis_startstop_scripts "start"

$AOSS $MOZ_PROGRAM $@

## Stop addon scripts
moz_pis_startstop_scripts "stop"

exit 0


This is for Mozilla Firefox 1.5.0

xboxrulz

 

 

 


Comment/Reply (w/o sign-up)

mastercomputers
If you post a script like above, either explain where you got it from, or if it's your own, what it does, as I don't recommend doing these sort of changes.

I take it you downloaded the file from

http://www.adobe.com/shockwave/download/do...=ShockwaveFlash

In terminal where you downloaded the file (the ? needs to be replaced with the firefox version you're running):

CODE
tar -xvzf install_flash_player_7_linux.tar.gz
su -c "cp install_flash_player_7_linux/flashplayer.xpt /usr/lib/firefox-1.5.0.?/plugins/"
su -c "cp install_flash_player_7_linux/libflashplayer.so /usr/lib/firefox-1.5.0.?/plugins/"


If you don't know what the latest version is do:

CODE
ls /usr/lib/firefox-1* | grep firefox-1
and use that directory.

Hopefully that is it, all you need to do now is restart firefox, and test flash, also do about:plugins in your addressed bar to see if the flash plugin is listed.

Then test here: http://www.adobe.com/shockwave/welcome/ (refresh if the Flash Player does not show straight away) I'm not sure if there's a Shockwave Player plugin, I'm just checking that now. There is no shockwave player, unless they receive enough requests for shockwave (a few thousand, I've seen roughly 20,000 requests for it but that doesn't seem enough, so hopefully more people ask for it now) to make it beneficial.

Cheers,

MC

Comment/Reply (w/o sign-up)

xboxrulz
I got the script from the actual Mozilla Firefox launcher which comes with Firefox, as I already explained it. It's the program launcher as I also explained. The script is automatically installed from the SuSE Mozilla Firefox RPMs and have been tested on Fedora and Ubuntu anyways.

Also, I left out something. The most important part of the script I posted from my Firefox installation is the AOSS part.

xboxrulz

Comment/Reply (w/o sign-up)

BitShift
I think I'll just try and live without the flash problem.

I also might downgrade to Fedora Core 4. I've heard that FC5 still has bugs in it and stuff and is not able to emulate Windows games as well as FC4 is.


This should be fun...

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Flash Plugin Flash


    Looking for flash, plugin, problem, flash, work

See Also,

*SIMILAR VIDEOS*
Searching Video's for flash, plugin, problem, flash, work
advertisement



Flash Plugin Problem - need help getting flash to work

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com