Player swf для linux

Хочу смотреть swf в оффлайне, устанавливаю хваленный gnash — как?

— уболтал друга поставить линукс. Наткнулся в процессе переноса файлов на нашу старую swf’ку «Шкала масштабов» — в браузере из интернета она открывается, а локальный файл не открывается ни в браузере, ни в плеерах.

Поискал темы в форуме — хвалят gnash, а в репозитории его нет, хотя помню на моем компе — на убунте 13.10 или на минте 17 или на 14 даже — gnash у меня стоял и открывал эту swf’ку, только я не помню, как его ставил.

Скачал архив с оф.сайта, распаковал, а там такое — не умею еще такое.

Пытался что-то в консоле сделать — не получилось.

igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ ./install.sh bash: ./install.sh: Нет такого файла или каталога igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ sudo ./install.sh [sudo] password for igor: sudo: ./install.sh: command not found igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ ./configure checking build system type. i686-pc-linux-gnu checking host system type. i686-pc-linux-gnu checking for g++. no checking for c++. no checking for gpp. no checking for aCC. no checking for CC. no checking for cxx. no checking for cc++. no checking for cl.exe. no checking for FCC. no checking for KCC. no checking for RCC. no checking for xlC_r. no checking for xlC. no checking for C++ compiler default output file name. configure: error: in `/home/igor/Приложения/Установленные/gnash-0.8.10': configure: error: C++ compiler cannot create executables See `config.log' for more details. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make make: *** Не заданы цели и не найден make-файл. Останов. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make install make: *** Нет правила для сборки цели `install'. Останов. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make clean make: *** Нет правила для сборки цели `clean'. Останов. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ ./install.sh bash: ./install.sh: Нет такого файла или каталога igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ ./install.sh bash: ./install.sh: Нет такого файла или каталога igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ ./configure checking build system type. i686-pc-linux-gnu checking host system type. i686-pc-linux-gnu checking for g++. no checking for c++. no checking for gpp. no checking for aCC. no checking for CC. no checking for cxx. no checking for cc++. no checking for cl.exe. no checking for FCC. no checking for KCC. no checking for RCC. no checking for xlC_r. no checking for xlC. no checking for C++ compiler default output file name. configure: error: in `/home/igor/Приложения/Установленные/gnash-0.8.10': configure: error: C++ compiler cannot create executables See `config.log' for more details. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make make: *** Не заданы цели и не найден make-файл. Останов. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make install make: *** Нет правила для сборки цели `install'. Останов. igor@nout ~/Приложения/Установленные/gnash-0.8.10 $ make clean make: *** Нет правила для сборки цели `clean'. Останов.

Посоветуйте какое-нибудь решение — как открывать swf.

Читайте также:  Astra linux libavahi glib1

Источник

FlashArch — Adobe Flash SWF Player

FlashArch Player is SWF player is a desktop application that leverages the Ruffle flash emulator to replace Adobe Flash Player. If you are using a modern operating system, you can run any flash without any security concerns.

  • You can run SWF files on your local PC.
  • Explore FlashArch archived content with tons of flash preserved. You can find and run the content you want.
  • Safe for security. And powerful running performance!
  • Free software with no ads or charges.

Details for FlashArch — Adobe Flash SWF Player

License
Last updated
Links

Enable snaps on Manjaro Linux and install FlashArch — Adobe Flash SWF Player

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.

Enable snapd

Snapd can be installed from Manjaro’s Add/Remove Software application (Pamac), found in the launch menu. From the application, search for snapd, select the result, and click Apply.

Alternatively, snapd can be installed from the command line:

Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:

sudo systemctl enable --now snapd.socket 

To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap :

sudo ln -s /var/lib/snapd/snap /snap 

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

Install FlashArch — Adobe Flash SWF Player

To install FlashArch — Adobe Flash SWF Player, simply use the following command:

sudo snap install flasharch

Источник

How do I play .swf files?

.swf files can be opened with gnash swf viewer. If you don’t have it:

sudo apt-get install gnash 

I do not know however where the Gnash is officially developed and where one should sent suggestions (like Persian and Arabic language support above). On the github github.com/strk/gnash , or at savannah savannah.gnu.org/projects/gnash ? At the first one there are some commits from 2016, but the second one seems to be outdated. In my Ubuntu LTS there is version 0.8.11alpha while the github has a README of 0.8.8.

Читайте также:  Do while in linux script

But you can also open the file in your Internet browser if you have installed flash plugin.

Ok, I guess I had some sort of configuration problem. When I tried to install the flash plug-in into my browser it said it was already installed, but I still couldn’t play the videos. An uninstall/reinstall fixed my problem.

Adobe Flash Player Support Center adobe.com/support/flashplayer/debug_downloads.html with Adobe Flash Player 32 (Win, Mac & Linux) standalone players for Flex and Flash developers.

What worked for me is going to the adobe site and then selecting

Download the Flash Player Projector (64-bit)

Then extract the contents,inside the extracted folder there is a file called flashplayer open it. Then CTRL + O to open the file locally isntead of typing it as a url.

The download link is broken, showing an end-of-life page. But the site link works, and I could still download the player projector from there.

Just found worked solution to play flash with firefox from ubuntuforums

Create file ~/.mime.types with content:

application/x-shockwave-flash swf swfl 

Disable setting plugins.http_https_only (make it equal to false) in firefox by typing: about:config in URL box and finding this setting with Ctrl+f .

Now you can open .swf file from file manager by Open With Firefox. Or open it from firefox with Ctrl+o .

PS. you’ll need to accept the warning about accept the risk and restart firefox once setting is set to false.

How to open a .swf-file with Firefox browser

Right-click on the file. Choose Properties > Open With , then click on show other applications . Now you can add firefox in the list. Set it as default. Now double-click on the .swf -file.

It will open in the Firefox and play itself. I assume the flashplayer-plugin is already installed in Firefox, else it will ask you to install flashplayer-plugin. Follow the steps and you are good to go.

Another solution if you do not want to open it in web browser is you can install shockwave player for windows in Ubuntu via wine. I installed it and it’s work fine.

sudo apt-get install swfdec-gnome 

Use latest Google Chrome (which has inbuilt flash support)

In order to locally open .swf file with more recent Firefox versions ( 78+ ), old methods wouldn’t work, e. g. changing/replacing entries of application/vnd.adobe.flash.movie with appropriate entries for application/x-shockwave-flash (or creating the latter, where the former was missing).

Читайте также:  Операционная система linux преимущества недостатки

Tried modifications:

  • installing flashplayer-mozilla package
  • in FF’ about:config , setting plugins.http_https_only to false
  • in FF’ Shockwave Flash plugin’s settings, enabling alays ask
  • applying the above in FF’ profile folder’s ‘mimeTypes.rdf’
  • creating file ~/.mime.types with entry: application/x-shockwave-flash swf swfl
  • replacing vnd.adobe.flash.movie with that entry in /etc/mime.types
  • replacing/adding an appropriate entry for to /usr/share/mime/packages/freedesktop.org.xml
  • executing mandatory update-mime-database /usr/share/mime

So, even with xdg-mime query default application/. pointing to Firefox’ corresponding .desktop starter configuration file, for both mime types, and FF correctly showing a choice to execute ‘*.swf’ with Flash Player, it failed.

As it turned out, the following steps were required, to finally be able to execute local .swf files in Firefox (with some of the above maybe still required beforehand):

  1. Replace following entry in FF profile folder’s file handlers.json (mind replacing exactly between the correct 2 commata!) application/vnd.adobe.flash.movie with «application/x-shockwave-flash»:<"action":2,"handlers":[<"name":"flashplayer","path":"/usr/lib/flashplayer-mozilla/libflashplayer.so">],»extensions»:[«swf»],»ask»:true>
  2. Re-install flashplayer-mozilla package
  3. Disconnect from the network (!)
  4. Temporarily reset the desktop’s system date, back to before the official EoL date (< December 31, 2020) of FlashPlayer, or else it will attempt redirecting to Adobe’s EoL website (!)
  5. Now finally ‘enjoy’ playing your favorite local SWF / FlashPlayer files!
  6. After finished, restore the original system date (!)

NOTE: There might be a problem with all add-on’s disabled after a restart, if restoring the original system date before hasn’t occured before (or while FF trying to update its components, unless disabled before).

To fix this, reset all of Firefox’ registry entries, starting with app.update.lastUpdateTime* .

P.S.: It might be arguably a ‘good idea’, to store away a copy of the last version (32.0 r0 / 32.0.0.465) of Shockwave Flash player’s binary from /usr/lib/flashplayer-mozilla/libflashplayer.so — you never know, it might vanish from the repositories someday. But then, Mozilla could also blacklist the plugin completely.

Also, if somehow it doesn’t work out, you might check for the following registered mime type in the Shockwave Flash plugin’s settings in FF: application/x-shockwave-flash (Shockwave Flash: swf)

And in about:preferences#general Applications, search for ‘Flash’; it should show Flashplayer | always ask .

To execute a local .swf files, you’ll have to click through several security warning popups (2-4), each time, especially, with NoScript .

ATTENTION: Due to the notorious security problems history with Flash Player, use this method at your own risk! It’s generally a bad idea, and most especially, to download new .swf files from dubious websites and executing them. This method should be used with caution, and only if you ‘know what you’re doing’ !

Источник

Оцените статью
Adblock
detector