Adobe Flash: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 60: Line 60:
To avoid the '''Click to play''' prompt when playing flash in the browser, remove the two files by typing:
To avoid the '''Click to play''' prompt when playing flash in the browser, remove the two files by typing:


rm /usr/share/activities/Web.activity/agent-stylesheet.css
rm /usr/share/activities/Web.activity/agent-stylesheet.css
rm /usr/share/activities/Web.activity/clickToView.xml
rm /usr/share/activities/Web.activity/clickToView.xml


using Terminal:
using Terminal:

Revision as of 15:49, 3 January 2008

This page describes third-party software that does not meet the OLPC standards for software freedom. The use of such software is unsupported; OLPC does not endorse or encourage its use.


  This page is monitored by the OLPC team.
  For the general public

To install Adobe Flash

1. Make sure you are connected to the Internet

2. Open the "Terminal" activity Activity-terminal.svg. This is a pre-installed program found in the Activities taskbar at the bottom of your Home View. You may need to scroll through the Activities taskbar by using the right arrow icon at the bottom of your screen (Frame-scroll-right.gif) to find the Activity-terminal.svg icon.

3. At the command prompt, login as root by typing

su -l

4. Then type this to install the latest working version (version 48) of Adobe Flash. Some sites suggest using the latest version #115, but 115 does not work with Opera on the XO. To install version 48 type the following:

wget flash9048.notlong.com
rpm -i flash-plugin-9.0.48.0-release.i386.rpm
exit

To install version 115 type the following:

wget flash90115.notlong.com
rpm -i flash-plugin-9.0.115.0-release.i386.rpm
exit

Note that http://flash9048.notlong.com is simply an alias for http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm for ease of typing.

Similarly, http://flash90115.notlong.com is an alias for http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.115.0-release.i386.rpm .

5. Check to ensure that Flash is installed properly.

Browse to the Adobe Flash Browser Version Test.

The Version should be LNX not GSH.

To uninstall:

1. open the Terminal activity;

2. remove flashplayer by typing:

su -l
yum remove flash-plugin-9.0.48.0-release
exit

or

su -l
yum remove flash-plugin-9.0.115.0-release
exit

depending on the version you installed.

Advanced options

To avoid the Click to play prompt when playing flash in the browser, remove the two files by typing:

rm /usr/share/activities/Web.activity/agent-stylesheet.css 
rm /usr/share/activities/Web.activity/clickToView.xml

using Terminal:

su -l
cd /usr/share/activities/Web.activity
mkdir bak
mv agent-stylesheet.css bak
mv clickToView.xml  bak
exit

undo using Terminal:

su -l
cd /usr/share/activities/Web.activity/bak
cp agent-stylesheet.css ..
cp clickToView.xml ..
exit


Older versions of flash are available here:

http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp9_archive.zip

Information about how to load other restricted formats is found here.