Flash (.swf) files stored locally cannot be run with Mint 19.3.

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderator: trava90

Post Reply
User avatar
TheRealMaestro
Hobby Astronomer
Hobby Astronomer
Posts: 25
Joined: 2019-08-13, 00:30

Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by TheRealMaestro » 2020-01-31, 16:06

As indicated in the title, it is impossible to run a locally stored .swf file in Pale Moon running the latest version of Linux Mint; if I attempt to open one, Pale Moon gives the option to open it using Celluloid or VLC, or else to save it. Flash Player's latest version (Adobe's own, not Gnash or other third-party implementations) is installed and the plug-in appears in the add-on menu, being set always to activate. On-line Flash content, such as Adobe's test function, shows properly; this inability to run only occurs with locally stored files. Pale Moon was installed using the official binary; I had not compiled it myself (and would not even know how). There are no add-ons or other changes made to the browser from the default settings. How can I run locally saved Flash content in Pale Moon?
Browser: Netscape Navigator 4.x Pale Moon 28.8.1
Operating System: Windows 7 Home Premium x64 / Linux Mint 19.3 Xfce x64
Hardware: HP Pavilion DV6-7010 (1400 MHz, 4,6 GB) / HP Envy x360 Convertible (2500 MHz, 12 GB)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26727
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by Moonchild » 2020-01-31, 18:50

Raw plugin content needs a document "wrapper" to be able to run it in the browser. The same goes for other media like images and video to be able to open them as stand-alone files, although Pale Moon has specific internal document structures for that, which is why that works.

Creating a minimal html file that loads the swf as a plugin object should do the trick.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

User avatar
moonbat
Board Warrior
Board Warrior
Posts: 1366
Joined: 2015-12-09, 15:45

Re: Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by moonbat » 2020-02-01, 11:21

Moonchild wrote:
2020-01-31, 18:50
Raw plugin content needs a document "wrapper" to be able to run it in the browser.
Is this done for security reasons, or simply that the page renderer needs a wrapper to properly hand off plugin content?
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Linux Mint 19.3 Xfce x64 on HP i5 laptop with 4 GB RAM, always latest versions of PM & Basilisk unless specified.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 26727
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by Moonchild » 2020-02-01, 12:17

The latter.
Plugin content is a format not understood by the parser. A web browser is, first and foremost, a document viewer for various markup languages. Plugin content (or media for that matter) is not something you can throw at the parser without telling it what it is or what to do with it, and that needs (albeit minimal) meta data provided by a wrapper markup document.
"There will be times when the position you advocate, no matter how well framed and supported, will not be accepted by the public simply because you are who you are." -- Merrill Rose
Image

Toa-Nuva
Fanatic
Fanatic
Posts: 186
Joined: 2015-06-04, 18:12

Re: Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by Toa-Nuva » 2020-02-01, 13:07

Actually, there is a way. In your home directory, create a text file called ".mime.types" (note the dot at the beginning) and copy the following line into this file:

Code: Select all

application/x-shockwave-flash       swf swfl
And that's it. This should take effect immediately, you don't even need to restart the browser.

I first found out about this workaround back when I was still using Firefox, but it does work on Pale Moon as well. I'm not entirely sure what this file does or how the browser interacts with it, but it works. ;)

User avatar
stevepusser
Astronaut
Astronaut
Posts: 601
Joined: 2015-08-01, 18:33
Location: California

Re: Flash (.swf) files stored locally cannot be run with Mint 19.3.

Post by stevepusser » 2020-02-03, 02:30

You can also download a standalone flash player program from Adobe for Linux--it took me a couple minutes to search the Web for the answer months ago when someone asked the same question. I sorta recall it was the flash "projector", but I could be wrong about that. No, I'm not mistaken, here's the download page:

https://www.adobe.com/support/flashplay ... loads.html

Post Reply