Adobe Flash: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(69 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>{{Users}}
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>{{Users}}
{{G1G1 Support FAQ}}
{{G1G1 Support FAQ}}
{{proprietary}}
This page is about '''Adobe Flash''', a proprietary player for Flash media. For the free software player that comes with each XO, see [[Gnash]].

Adobe Flash must be avoided.

* see [https://helpx.adobe.com/security/products/flash-player/apsa15-05.html Adobe Security Bulletin APSA15-05] for a critical remote control vulnerability. No update will be available for XO-1, XO-1.75 or XO-4 laptops.

* see [https://theconversation.com/using-flash-is-like-leaving-your-home-doors-open-and-sending-invites-to-criminals-44741 Using Flash is like leaving your home doors open and sending invites to criminals] by David Glance, Director of UWA Centre for Software Practice at University of Western Australia.

Adobe Flash support for all platforms is [https://blogs.adobe.com/conversations/2017/07/adobe-flash-update.html ending] in favour of more recent technologies.

Adobe Flash is a [[RestrictedFormats|Restricted Format]]. A free software player [[Gnash]] comes with each XO laptop, but does not work with all web pages, because not all web sites have taken care to make sure that Gnash works.

Adobe Flash Player is a proprietary player for Adobe Flash media. Adobe Flash Player plays a larger variety of Flash media than Gnash, but has license restrictions that prevent easy distribution. More information on Adobe Flash Player can be found on the [http://www.adobe.com/products/flashplayer/ Adobe Flash Player] web site.


==Overview==
==Overview==
{{proprietary}}


Adobe Flash Player can be [[OS_Builder/Add_Adobe_Flash_support|added during build]], for some laptop models, subject to permission from Adobe. Adding during build is the method supported by OLPC, because it works with our operating system {{Code|[[olpc-update|olpc-update]]}} feature.
'' [http://www.adobe.com/products/flashplayer/ Adobe Flash] '' 10, a [[RestrictedFormats|Restricted Format]] can be installed for both the [[Browse]] Activity and the [[Opera]] activity. This installation must be repeated after any [[olpc-update|Update]].


Adobe Flash Player is ''not'' included in OLPC OS, because of the restrictions on redistribution. But it can be added after install. Such changes are lost on {{Code|[[olpc-update|olpc-update]]}}.
To install the latest version of Adobe Flash, which plays a larger variety of Flash pages, follow the [[#Installation|installation instructions]].


Both Adobe and OLPC provide an Adobe Flash Player plugin, depending on the model of laptop:
To check which version of Adobe Flash is installed for your browser, take the [http://www.adobe.com/go/tn_15507 Adobe Flash Browser Version Test]. The version should show '''LNX''' not '''GSH'''.
{| class="wikitable"
|-
|valign="top"|[[XO-1]]
|Adobe do not provide a compatible player.<br>See [http://lists.laptop.org/pipermail/devel/2012-October/036209.html technical details].<br>
|-
|valign="top"|[[XO-1.5]]
|Adobe provide a player, <br>follow the [[#Installation on XO-1 and XO-1.5|instructions for XO-1.5]],<br>
|-
|valign="top"|[[XO-1.75]]
|OLPC provide a player, <br>please negotiate with OLPC regarding the payment of Marvell license fees for video drivers, then <br>follow the [[#Installation on XO-1.75 and XO-4|instructions for XO-1.75]],
|-
|valign="top"|[[XO-4]]
|OLPC provide a player, <br>follow the [[#Installation on XO-1.75 and XO-4|instructions for XO-4]], <br>because OLPC has paid the Marvell license fees.
|}


== Checking Version ==
On Browse, Flash files are not played by default when a website is opened; you need to click on the flash window to load flash. The [[#Click to Play|Click to Play]] can be disabled.


To check which version is installed, visit the [http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html Adobe Flash Browser Version Test].
<span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">==Installation== ===Browse Activity=== How to download and install Adobe Flash Player for the [[Browse]] Activity, on Sugar 0.82 and later: *Make sure the XO is connected to the Internet, *Start the [[Terminal Activity]], *Enter the following commands: [[su -l]] wget http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.2.159.1-release.i386.rpm rpm -i flash-plugin-*.rpm :(this link is occasionally invalidated by Adobe, to find the current one go to [http://get.adobe.com/flashplayer/ get.adobe.com] and complete the prompts.) :(to save typing, copy and paste the above commands from Browse activity to Terminal, like this: start Browse, visit this page, use the touchpad to highlight the wget and rpm commands, click the Edit menu in the Browse and click the Copy button, then in the Terminal, click the Edit menu and then click Paste.) :(to upgrade from an existing installation of flash-plugin, use ''rpm -U'' instead of ''rpm -i''.) *Wait for the rpm command to complete.</span> == Instalación == === === ¿Cómo Navegar Actividad para descargar e instalar el Adobe Flash Player para el [[Ver]] Actividad, de azúcar 0.82 y posteriores: * Asegúrese de que el XO está conectado a Internet, * Iniciar el [[Actividad Terminal]], * Introduzca los siguientes comandos: [[] su-l] http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.2.159.1-release.i386.rpm wget rpm-i flash-plugin-*. rpm: (este enlace es en ocasiones desvirtuada por Adobe, para encontrar el actual vaya a [http://get.adobe.com/flashplayer/ get.adobe.com] y completar las instrucciones .): (para salvar a escribir, copiar y pegar los comandos de arriba de la actividad Consulta a la Terminal, así: Ver empezar, visita esta página, utilice la pantalla táctil para seleccionar los comandos wget y rpm, haga clic en el menú Edición y haga clic en el botón Examinar en el botón Copiar, a continuación, en la Terminal, haga clic en el menú Edición y haga clic en Pegar):. (para actualizar desde una instalación existente de flash-plugin, usar''U''rpm en lugar de''''rpm-i. ) * Espere a que el comando rpm para completar.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">On XO-1.5 this may take a minute or so.</span> El XO-1.5 puede tardar un minuto o menos.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">*In releases prior to [[Release notes/8.2.0|release 8.2.0]], and in [[11.2.0]], to avoid conflicts between the Gnash and Adobe Flash plugins, remove Gnash with the following Terminal commands: [[su -l]] yum remove -y gnash gnash-plugin *Stop Terminal, *Stop Browse, *Start Browse, and check that Flash is working properly: open the page [http://www.adobe.com/go/tn_15507 Adobe Flash Browser Version Test].</span> * En versiones anteriores a [[Release notes/8.2.0 | versión 8.2.0]] y en [[11.2.0]], para evitar conflictos entre los Gnash y plugins de Flash, retire Gnash con los siguientes comandos de terminal: [[su-l]] yum remove-y gnash gnash-plugin * Detener la Terminal, * Deje de Personas, * Navegar en Inicio, y comprobar que Flash está funcionando correctamente: abrir el http://www.adobe.com/go [página / tn_15507 Adobe Flash Browser Versión de prueba].</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">The version should be '''LNX''' not '''GSH''', indicating that Adobe Flash is handling the content.</span> La versión debe ser "GSH'''''' LNX'''no'', lo que indica que Adobe Flash es la manipulación del contenido.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">See [http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/flash_player_trust_f.php hints on how to disable security questions popping up when using local content].</span> Mas [http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/flash_player_trust_f.php consejos sobre cómo desactivar la seguridad de las preguntas a aparecer cuando se utiliza de contenido local].</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">=== Firefox Browser (on GNOME) === Firefox is included in OLPC OS from 10.1.1 onwards, and is in the GNOME menus.</span> === Navegador Firefox (en GNOME) === Firefox está incluido en el sistema operativo de OLPC 10.1.1 en adelante, y se encuentra en los menús de GNOME.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Installing Adobe Flash for the [[#Browse Activity|Browse Activity]] will also install it for Firefox.</span> Instalación de Adobe Flash para la [[# Ver Actividad | Navegar Actividad]] también lo instalará para Firefox.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Start the Terminal application and enter the commands above.</span> Inicie la aplicación Terminal y escriba los comandos anteriores.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Then restart Firefox.</span> A continuación, reinicie Firefox.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">=== [[Opera | Opera Browser]] === For installing the Opera Browser, see the [[Opera|Main Opera Browser Page]] Installing Adobe Flash for the [[#Browse Activity|Browse Activity]] will also install it for Opera.</span> === [[Opera | Opera Browser]] === Para instalar el navegador Opera, consulte la [[Opera | Página principal del navegador Opera]] Instalación de Adobe Flash para la [[# Ver Actividad | Navegar Actividad]] también se instalará que para la Ópera.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Notes: * The latest version of ''Adobe Flash'' is not fully compatible with the Sugarized [[Opera|Opera 9.12 OLPC Edition]] activity but runs fine with the newer non-Sugarized [[Opera|Opera 9.6x]] general linux builds.</span> Notas: * La última versión de Adobe Flash'',''no es plenamente compatible con la Sugarized [[Opera | Opera 9.12 OLPC Edition]] actividad, pero funciona bien con la nueva versión no Sugarized [[Opera | Opera 9.6x]] en general Linux se basa.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">To install the older Opera 9.12-compatible ''Adobe Flash 9'' version, follow the standard installation instructions for the [[#Browse Activity|Browse Activity]], replacing the download url with http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm * Alternatively, you can also use an [[Flash player/Installation script|installation script]] to install Adobe Flash v. 9.0.48.0 on your XO.</span> Para instalar la edad de Opera 9.12 compatible con Adobe Flash 9''''la versión, siga las instrucciones de instalación estándar para la [[# Ver Actividad | Navegar Actividad]], en sustitución de la URL de descarga con http://fpdownload.macromedia.com/ get/flashplayer/current/flash-plugin-9.0.48.0-release.i386.rpm * Si lo prefiere, también puede utilizar un [[flash player / script de instalación | script de instalación]] para instalar el Adobe Flash 9.0.48.0 en su contra XO.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">However, this has not been thoroughly tested, and will not install the very latest version.</span> Sin embargo, esto no ha sido probado a fondo, y no se instalará la última versión.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">=== Firefox Activity (on Sugar 0.82) === For instructions on how to install Adobe Flash for the obsolete Firefox Activity, please go to [[Firefox/Obsolete]].</span> === Firefox actividad (en el azúcar 0,82) === Para obtener instrucciones sobre cómo instalar el Adobe Flash para el obsoleto Actividad Firefox, por favor, vaya a [[Firefox / Obsoleto]].</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">{{Developers}} 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 [[Restricted Formats|here]].</span> {{}} Los desarrolladores Las versiones anteriores de flash están disponibles aquí: Información http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp9_archive.zip acerca de cómo cargar otros formatos restringidos se encuentra [[Formatos restringidos | aquí ]].</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">=== Click to Play === To automatically run Flash applets without seeing the '''Click to play''' prompt, move two files by typing the following in the Terminal Activity: *For current builds, ie '''767''' (aka '''release 8.2.0''') :: cd /home/olpc/Activities/Browse.activity :: mkdir bak :: mv agent-stylesheet.css bak/.</span> Click aquí para jugar === === Para la ejecución automática de aplicaciones Flash sin ver 'Haz clic aquí para jugar'''''mover el sistema, dos archivos, escriba lo siguiente en la actividad de terminal: * Para las versiones actuales, es decir,'''767 '''(''alias' versión 8.2.0'''): cd / home / olpc / Actividades / Browse.activity: bak mkdir::: bak mv agente stylesheet.css /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: mv clickToView.xml bak/.</span> :: Bak clickToView.xml mv /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:To '''undo''' using Terminal: :: cd /home/olpc/Activities/Browse.activity/bak :: cp agent-stylesheet.css ../.</span> : Para "deshacer'''''de Terminal::: cd / home / olpc / Actividades / Browse.activity / bak:: agente cp-stylesheet.css .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: cp clickToView.xml ../.</span> :: ClickToView.xml cp .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">*For Sugar-on-a-Stick builds, eg '''Blueberry v2''' (aka '''Sugar 0.86.3''') :: cd /home/liveuser/Activities/Browse.activity :: mkdir bak :: mv agent-stylesheet.css bak/.</span> * Para el azúcar-en-un-Stick-se basa, por ejemplo,'''Blueberry v2''' (''alias 'Sugar 0.86.3'''): cd / home / liveuser / Actividades / Browse.activity:: mkdir bak :: mv-bak agente stylesheet.css /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: mv clickToView.xml bak/.</span> :: Bak clickToView.xml mv /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:To '''undo''' using Terminal: :: cd /home/liveuser/Activities/Browse.activity/bak :: cp agent-stylesheet.css ../.</span> : Para "deshacer'''''de Terminal::: cd / home / liveuser / Actividades / Browse.activity / bak:: agente cp-stylesheet.css .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: cp clickToView.xml ../.</span> :: ClickToView.xml cp .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">*For really old builds: (if this applies to you, you really should [[Release_notes/8.2.0|update!]]) :: su -l :: cd /usr/share/activities/Web.activity :: mkdir bak :: mv agent-stylesheet.css bak/.</span> * Para los muy viejos se basa: (si esto se aplica a usted, usted debe realmente [[Release_notes/8.2.0 | update]!]): Su-l:: cd / usr / share / actividades / Web.activity:: mkdir bak:: mv-bak agente stylesheet.css /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: mv clickToView.xml bak/.</span> :: Bak clickToView.xml mv /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:To '''undo''' using Terminal: :: su -l :: cd /usr/share/activities/Web.activity/bak/ :: cp agent-stylesheet.css ../.</span> : Para "deshacer'''''de Terminal::: su-l:: cd / usr / share / actividades / Web.activity / bak /:: cp agente stylesheet.css .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">:: cp clickToView.xml ../.</span> :: ClickToView.xml cp .. /.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Notes: In build 703 /usr/share/activities looks like it's moved to /home/olpc/Activities while in build 711 it looks like it's /home/olpc/Activities/Web.activity NEWBIES (like me): This works like a charm to get rid of the double Flash elements on each page, but remember: text entered in the terminal is '''CaSe SEnsITiVe'''.</span> Notas: En construcción 703 / usr / share / actividades parece que se trasladó a / home / olpc / Actividades mientras que en construcción de 711 parece que es / home / olpc / Actividades / Web.activity novatos (como yo): Esto funciona como un encanto para deshacerse de la doble elementos Flash en cada página, pero recuerde: el texto introducido en el terminal es'''caso''sensibles ".</span>


== Installation on XO-1.75 and XO-4 ==
== Uninstallation ==
Linux [[rpm|RPM]] removal:
* In the [[Terminal Activity]]
* At the <tt>#</tt> prompt, type
su -l
rpm -e flash-plugin
exit


OLPC support will provide a file {{Code|libflashplayer.so}} at the same time as providing access to the [[Vmeta|video drivers]].
== Advanced options ==

*download and [[Vmeta|install the video drivers]],
*copy the {{Code|libflashplayer.so}} file to the XO-1.75 or XO-4,
*start the [[Terminal Activity]],
*check the clock shows the correct date,
*copy the plugin, paste this:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
*wrap the plugin<ref>these instructions to wrap the plugin are derived from and maintained in the [http://dev.laptop.org/git/projects/olpc-os-builder/tree/modules/adobe_flash Adobe Flash module in OS Builder].</ref>, paste this [[Compound_commands|compound command]]:
sudo yum -y install nspluginwrapper && \
sudo rm -f /usr/lib/mozilla/plugins-wrapped/nswrapper*.so && \
sudo /usr/lib/nspluginwrapper/npconfig -n \
-p nswrapper_32_32 \
-d /usr/lib/mozilla/plugins-wrapped \
-i /usr/lib/mozilla/plugins/libflashplayer.so && \
sudo yum remove -y gnash gnash-plugin && \
sudo chmod a-x /usr/bin/mozilla-plugin-config
*start Browse and [[#Checking_version|check version]],
*for the first video played, raise the volume in the playback window.

==Installation on XO-1.5 ==

*use ''My Settings'' and ''About my Computer'' to check what release of OLPC OS you are using,
*connect the XO laptop to the internet,
*stop Browse,
*start the [[Terminal Activity]],
*check the clock shows the correct date,
*download and install the plugin, paste this:
sudo rpm -F http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
sudo yum install flash-plugin
*wait for the above to complete, it may take a few minutes before the terminal prompt reappears,
*if this is the first time the plugin has been installed, wrap it and remove gnash, paste this [[Compound_commands|compound command]]:
sudo yum -y install nspluginwrapper && \
sudo /usr/lib/nspluginwrapper/npconfig -n \
-p nswrapper_32_32 \
-d /usr/lib/mozilla/plugins-wrapped \
-i /usr/lib/mozilla/plugins/libflashplayer.so && \
sudo yum remove -y gnash gnash-plugin && \
sudo chmod a-x /usr/bin/mozilla-plugin-config
*stop Terminal,
*start Browse and [[#Checking_version|check version]],

== Updating ==

To update to a later plugin, repeat the steps above. This must be done after any {{Code|[[olpc-update|olpc-update]]}}.

== Test Cases ==

* [http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html Adobe Flash Browser Version Test],
* [http://www.youtube.com/watch?v=C0DPdy98e4c a count down short test video],
* [http://khanacademy.org/cs/programming/intro-to-programming/v/programming-intro Khan Academy Introduction to Programming].

== Local Flash Media ==

See [http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/flash_player_trust_f.php hints on how to disable security questions popping up when using local content].

== Click to Play ==

On OLPC OS prior to 13.2.0<ref>the exact version that fixed the click to play is unknown, but it was probably between 11.3.1 and 13.2.0</ref>, Flash media is not played immediately; click on the media to start playing. You can upgrade the version of Browse or the OLPC OS version to fix this.

== Issues with Adobe Flash ==

See the main article on [[Adobe_Flash_Issues|issues with Adobe Flash]].

== Notes ==
<references/>

== Developer Discussions ==
{{Developers}}
{{Developers}}
{{outdated}}
===Flash-heavy Sites===
===Flash-heavy Sites===


Note that media-rich and script-heavy Flash media can be very taxing on the CPU and may perform poorly.
Note that media-rich and script-heavy Flash media can be very taxing on the CPU and may perform poorly.


The XO [[Browse]] Activity is loaded with [[Gnash]], a [[FOSS|Free and Open Source Software]] that is compatible with Flash 8. A number of sites, however, require at least [[Adobe Flash version 9 and higher]] running the newer Actionscript Virtual Machine 2 (AVM2) and Actionscript 3.0 code.
The XO [[Browse]] Activity is loaded with [[Gnash]], a [[FOSS|Free and Open Source Software]] that was compatible with Flash 8. A number of sites, however, require at least [[Adobe Flash version 9 and higher]] running the newer Actionscript Virtual Machine 2 (AVM2) and Actionscript 3.0 code.


To successfully access sites that require Adobe Flash 9 and above:
To successfully access sites that require Adobe Flash 9 and above:
Line 73: Line 159:
More information may be found here:
More information may be found here:
http://olpcnews.com/forum/index.php?topic=3676.0
http://olpcnews.com/forum/index.php?topic=3676.0

== Gnash ==

See the [[Gnash|Main Gnash Article]].

Adobe Flash has been reported to conflict with Gnash before; but this has not been reproduced recently. If you have a site that works for you with Adobe Flash installed but not with ''both'' Adobe and Gnash installed, please describe this in detail on the talk page here (after doublechecking the [http://adobe.com/go/tn_15507 version of flash] your browser seems to be running).

With build 8.2.0 of the XO OS, Adobe Flash & Gnash generally co-exist peacefully, with the Adobe Flash plugin running in the browser and Gnash able to run outside the browser in stand-alone mode.

Some notes on Gnash:
* Gnash 0.8.2 that comes with 711 has problems with AS-driven dynamic text rotation/positioning
* Gnash 0.8.3 that comes with 8.20 builds the above problem, but still has some Adobe Flash 7 & 8 sound bug incompatibilities.


[[Category:Linux software]]
[[Category:Linux software]]

[[es:Adobe Flash]]

== Issues with Adobe Flash ==
See the main article on [[Adobe_Flash_Issues|issues with Adobe Flash]].

== Related Articles ==
* [[Gnash|Gnash]] the open source Flash player pre-installed with the XO
* [[Adobe_AIR|Adobe AIR]] on the OLPC XO

Latest revision as of 23:01, 25 July 2017

Translate this page with Google -español -български -中文(中国大陆) -中文(臺灣) -hrvatski -čeština -dansk -Nederlands -suomi -français -Deutsch -Ελληνικά -हिन्दी -italiano -日本語 -한국어 -norsk -polski -português -română -русский -svenska


  For the general public
This page is part of the XO Support FAQ.     Support Index | Print This Page
<imagemap>

Image:Support-banner-square.png|173px|community support pages rect 0 0 135 204 [1] rect 135 0 345 204 Support FAQ rect 0 205 135 408 [2]

  1. Comment : there's some whitespace here:

rect 135 205 345 408 Other support

  1. maybe desc none is better. testing.

desc none

</imagemap>
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.

Adobe Flash must be avoided.

Adobe Flash support for all platforms is ending in favour of more recent technologies.

Adobe Flash is a Restricted Format. A free software player Gnash comes with each XO laptop, but does not work with all web pages, because not all web sites have taken care to make sure that Gnash works.

Adobe Flash Player is a proprietary player for Adobe Flash media. Adobe Flash Player plays a larger variety of Flash media than Gnash, but has license restrictions that prevent easy distribution. More information on Adobe Flash Player can be found on the Adobe Flash Player web site.

Overview

Adobe Flash Player can be added during build, for some laptop models, subject to permission from Adobe. Adding during build is the method supported by OLPC, because it works with our operating system olpc-update feature.

Adobe Flash Player is not included in OLPC OS, because of the restrictions on redistribution. But it can be added after install. Such changes are lost on olpc-update.

Both Adobe and OLPC provide an Adobe Flash Player plugin, depending on the model of laptop:

XO-1 Adobe do not provide a compatible player.
See technical details.
XO-1.5 Adobe provide a player,
follow the instructions for XO-1.5,
XO-1.75 OLPC provide a player,
please negotiate with OLPC regarding the payment of Marvell license fees for video drivers, then
follow the instructions for XO-1.75,
XO-4 OLPC provide a player,
follow the instructions for XO-4,
because OLPC has paid the Marvell license fees.

Checking Version

To check which version is installed, visit the Adobe Flash Browser Version Test.

Installation on XO-1.75 and XO-4

OLPC support will provide a file libflashplayer.so at the same time as providing access to the video drivers.

sudo cp libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
sudo yum -y install nspluginwrapper && \
sudo rm -f /usr/lib/mozilla/plugins-wrapped/nswrapper*.so && \
sudo /usr/lib/nspluginwrapper/npconfig -n \
    -p nswrapper_32_32 \
    -d /usr/lib/mozilla/plugins-wrapped \
    -i /usr/lib/mozilla/plugins/libflashplayer.so && \
sudo yum remove -y gnash gnash-plugin && \
sudo chmod a-x /usr/bin/mozilla-plugin-config 
  • start Browse and check version,
  • for the first video played, raise the volume in the playback window.

Installation on XO-1.5

  • use My Settings and About my Computer to check what release of OLPC OS you are using,
  • connect the XO laptop to the internet,
  • stop Browse,
  • start the Terminal Activity,
  • check the clock shows the correct date,
  • download and install the plugin, paste this:
sudo rpm -F http://linuxdownload.adobe.com/linux/i386/adobe-release-i386-1.0-1.noarch.rpm
sudo yum install flash-plugin
  • wait for the above to complete, it may take a few minutes before the terminal prompt reappears,
  • if this is the first time the plugin has been installed, wrap it and remove gnash, paste this compound command:
sudo yum -y install nspluginwrapper && \
sudo /usr/lib/nspluginwrapper/npconfig -n \
    -p nswrapper_32_32 \
    -d /usr/lib/mozilla/plugins-wrapped \
    -i /usr/lib/mozilla/plugins/libflashplayer.so && \
sudo yum remove -y gnash gnash-plugin && \
sudo chmod a-x /usr/bin/mozilla-plugin-config 

Updating

To update to a later plugin, repeat the steps above. This must be done after any olpc-update.

Test Cases

Local Flash Media

See hints on how to disable security questions popping up when using local content.

Click to Play

On OLPC OS prior to 13.2.0<ref>the exact version that fixed the click to play is unknown, but it was probably between 11.3.1 and 13.2.0</ref>, Flash media is not played immediately; click on the media to start playing. You can upgrade the version of Browse or the OLPC OS version to fix this.

Issues with Adobe Flash

See the main article on issues with Adobe Flash.

Notes

<references/>

Developer Discussions

The contents of this page are considered outdated and some of the information may be stale. Please use information here with caution, or update it.

Flash-heavy Sites

Note that media-rich and script-heavy Flash media can be very taxing on the CPU and may perform poorly.

The XO Browse Activity is loaded with Gnash, a Free and Open Source Software that was compatible with Flash 8. A number of sites, however, require at least Adobe Flash version 9 and higher running the newer Actionscript Virtual Machine 2 (AVM2) and Actionscript 3.0 code.

To successfully access sites that require Adobe Flash 9 and above:

  1. Close all Activities
  2. Ensure that the XO is connected to the internet
  3. Install Adobe Flash, and follow the advanced instructions to disable Click to Play
  4. optional: Disable Gnash
  5. Reboot the XO
  • Please note that a lot of websites such as popular children's sites Webkinz.com (Flash 9+ required) and Disney.com are generally geared towards systems that have a lot of free disk space for browser cache files. The XO only has a total storage of 1GB so be aware that successive use of these sites may quickly fill up your free storage.
  • Also note that the Browse and Firefox activities zoom-in pages by default to improve readability. Because of this, Flash applets are artificially scaled up above native resolution and the CPU is taxed even more because more pixels have to be rendered by Flash. Zooming out or using a browser that runs at native resolution like Opera will improve performance.
  • Additional performance increase at the sacrifice of visual quality may be gained by running Flash in low-quality mode. This may be achieved by right-clicking on the flash applet to access the context menu, then selecting QUALITY -> Low. Note that a lot of Flash applets disable the right-click context menu.

A forum thread at the following URL documents a workaround that will start the Adobe Flash plugin in low-quality mode by default: http://www.olpcnews.com/forum/index.php?topic=845.msg7429 note that the guide was written with Flash 9 in mind and has been documented to crash the browser on Flash 10: http://www.olpcnews.com/forum/index.php?topic=3804.0

Flash Video

Installing the latest version of Adobe Flash will allow users to run sites like Youtube.com and GoogleVideo.com and play Flash Video. Note however that decoding video is a CPU-intensive activity. Due to the XO's limited CPU, Flash Video will play at very low framerates. Sound in general will play at full speed. Running Flash in low-quality mode (detailed in the previous section) may improve Flash Video performance.

Flash 3D

3D in Flash is achieved via software rendering and is not hardware accelerated. Because of this, 3D in Flash is very CPU and memory-intensive, and the XO's limited 433MHz CPU and 256MB RAM may not be able to cope.

Visiting sites that use Flash 3D engines such as Papervision3D.org, the demo pages of FlashSandy.org and AlternativaPlatform.com may freeze the browser *AND* the entire machine thus requiring a reboot.

Because of this, avoid visiting sites which make use of 3D in Flash.

Webcam Support

Support for the XO's built-in camera seems to be problematic.

In both the Browse Activity and Opera browser:

  • Browsing Flash apps that use the webcam will turn on the indicator light above the webcam
  • Flash 9 shows just a black screen
  • Flash 10 shows red and green static which reacts to motion. This means the camera is working, but isn't talking quite correctly with Flash.
  • Tested on Update.1 711

More information may be found here: http://olpcnews.com/forum/index.php?topic=3676.0