Flash
(updates) |
|||
Line 1: | Line 1: | ||
Here are three ways to use Adobe Flash. | Here are three ways to use Adobe Flash. | ||
− | == | + | ==Linux plugin emulation== |
− | + | First install nspluginwrapper | |
− | + | # pkg_add -r nspluginwrapper | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | First install | + | |
− | # pkg_add -r | + | |
Or with options: | Or with options: | ||
− | # cd /usr/ports/*/ | + | # cd /usr/ports/*/nspluginwrapper;make install clean |
− | Next install | + | Next install flashplugin11 |
− | # cd /usr/ports/*/linux- | + | # cd /usr/ports/*/linux-flashplugin11;make install clean |
If it cannot fetch the file download it from here: | If it cannot fetch the file download it from here: | ||
http://freshmeat.net/projects/flashplugin/ | http://freshmeat.net/projects/flashplugin/ | ||
+ | ===How to update to the latest version of Flash=== | ||
+ | The Linux library file from Adobe can be downloaded and emulated to update an outdated flash player. | ||
+ | Download the Flash tar.gz file for Linux at https://get.adobe.com/flashplayer/otherversions/. | ||
+ | Unzip and untar the file: | ||
+ | # tar -xzf install_flash_player_*_linux-i386.tar.gz | ||
+ | |||
+ | Brand ''libflashplayer.so'' as a linux file, then move it under ''/usr/local/lib/browser_plugins/'': | ||
+ | # brandelf -t Linux libflashplayer.so | ||
+ | # mv libflashplayer.so | ||
+ | This setup should work with non-emulated Firefox. This generally provides video playback on most websites requiring flash player. Please see [http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html FreeBSD handbook (Linux® Binary Compatibility)] for more insight. | ||
===libmap.conf=== | ===libmap.conf=== | ||
Line 90: | Line 75: | ||
All you should have to do is install it. Opera will automatically use the libmap.conf file to find the flash libraries and load them. | All you should have to do is install it. Opera will automatically use the libmap.conf file to find the flash libraries and load them. | ||
# cd /usr/ports/www/linux-opera && make install clean | # cd /usr/ports/www/linux-opera && make install clean | ||
+ | |||
+ | ==Wine emulation== | ||
+ | |||
+ | Full Adobe Flash 9 support can be present by using a Win32 browser and Adobe Flash 9 for Windows in WINE. This was tested with WINE 0.9.59, FreeBSD 7-Release and Firefox 2.0.0.13. | ||
+ | |||
+ | Alternatively look into installing the package ''emulators/pipelight'', which is meant to use windows plugins in non-emulated FreeBSD broswers. (I haven't tested this set-up) | ||
==External Links== | ==External Links== |
Revision as of 16:26, 5 March 2015
Here are three ways to use Adobe Flash.
Contents |
Linux plugin emulation
First install nspluginwrapper
# pkg_add -r nspluginwrapper
Or with options:
# cd /usr/ports/*/nspluginwrapper;make install clean
Next install flashplugin11
# cd /usr/ports/*/linux-flashplugin11;make install clean
If it cannot fetch the file download it from here: http://freshmeat.net/projects/flashplugin/
How to update to the latest version of Flash
The Linux library file from Adobe can be downloaded and emulated to update an outdated flash player. Download the Flash tar.gz file for Linux at https://get.adobe.com/flashplayer/otherversions/.
Unzip and untar the file:
# tar -xzf install_flash_player_*_linux-i386.tar.gz
Brand libflashplayer.so as a linux file, then move it under /usr/local/lib/browser_plugins/:
# brandelf -t Linux libflashplayer.so # mv libflashplayer.so
This setup should work with non-emulated Firefox. This generally provides video playback on most websites requiring flash player. Please see FreeBSD handbook (Linux® Binary Compatibility) for more insight.
libmap.conf
Add the following to /etc/libmap.conf
# Flash7 for Firefox [/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so] libpthread.so.0 pluginwrapper/flash7.so libdl.so.2 pluginwrapper/flash7.so libz.so.1 libz.so.3 libstdc -libc6.2-2.so.3 libstdc .so.4 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash7.so # Flash6 for Konqueror [/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so] libpthread.so.0 pluginwrapper/flash6.so libdl.so.2 pluginwrapper/flash6.so libz.so.1 libz.so.3 libstdc -libc6.2-2.so.3 libstdc .so.5 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash6.so
Konqueror
Go to Settings -> Configure Konqueror -> plugins
Create the directory and link files
# mkdir /usr/X11R6/lib/linux-flashplugin6 # cd /usr/X11R6/lib/linux-flashplugin6 # ln -s /usr/local/lib/npapi/linux-flashplugin/flashplayer.xpt # ln -s /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
Now hit 'Scan for new plugins'
Now go and test it out.
Native Firefox
You will need to patch a file and compile it's all explained on this site:
http://www.jail.se/freebsd.html
Linux Opera
I've noticed that some things work better under linux-opera than any other browser on FreeBSD. For instance the Asterisk Flash Operator Panel will only work properlly under this port and YouTube works with sound and video under opera!
All you should have to do is install it. Opera will automatically use the libmap.conf file to find the flash libraries and load them.
# cd /usr/ports/www/linux-opera && make install clean
Wine emulation
Full Adobe Flash 9 support can be present by using a Win32 browser and Adobe Flash 9 for Windows in WINE. This was tested with WINE 0.9.59, FreeBSD 7-Release and Firefox 2.0.0.13.
Alternatively look into installing the package emulators/pipelight, which is meant to use windows plugins in non-emulated FreeBSD broswers. (I haven't tested this set-up)
External Links
http://freebsd.kde.org/howtos/konqueror-flash.php
Some more extensive step-by-step instructions:
http://freebsd.langhans.com.pl
See also
The PC-BSD project have released version 1.4 of their FreeBSD based distribution which includes native Flash Player in Konqueror, Firefox and Opera.