Skip to main content
Participant
February 23, 2018
Question

Abount HTML Contents

  • February 23, 2018
  • 2 replies
  • 1099 views

If AIR is embedding the SWF into HTML, NPAPI is required, but will NPAPI continue?

Or is it not supported to embed the SWF in HTML? Or do you want AIR to include NPAPI as before AIR version 21?

thanks.

This topic has been closed for replies.

2 replies

Inspiring
February 25, 2018

when you use HTMLLoader in Adobe AIR to load an HTML page and embed a SWF


from AIR v1 to AIR v21
the Adobe AIR runtime included its own Flash Player plugin

from AIR v22

the Adobe AIR runtime does not include the Flash Player plugin anymore
and instead use the NPAPI Flash Player plugin installed on the system

see System level Flash Player support for AIR desktop applications

Starting in AIR 22, applications that play swf content via the HTML control (WebKit) will now load the system level NPAPI Flash Player provided by Adobe (https://get.adobe.com/flashplayer).  If this plugin is not available on the system, the end user will be prompted to download and install the plugin from Adobe.

see, if the Flash Player plugin is not found on the system the user will be prompted to install it

Now, in 2020, when Flash reach End of Life (EOL), even if the plugin itself will not be supported anymore

you will still be able to install it.


Alternatively, when you create an installer for your AIR application, you can make it install

the Flash Player on the system (if not detected) or even upgrade it (if the version detected is too low).

Participant
February 27, 2018

Has Adobe declared the continuation of AIR, but at the same time as the end of the 2020 Flashplayer, will HTMLLoader's support end?

Inspiring
February 27, 2018

まあゆく  wrote

Has Adobe declared the continuation of AIR, but at the same time as the end of the 2020 Flashplayer, will HTMLLoader's support end?

There are no reasons for HTMLLoader support to stop

for many years the AIR SDK has been updated on a regular basis
every quarter: March, June, September, December

see Flash Player and Adobe AIR Features List

also see Adobe AIR releases notes

in 2020, the Flash Player itself will not be updated anymore

but that's about it

at worst, you could switch from embedding SWF in HTMLLoader

to directly load an external SWF with the Loader class

Inspiring
February 23, 2018

AIR doesn't embed swf into HTML ever. Maybe you meant Flash Player instead of AIR? Maybe you meant Animate CC instead of AIR? And/or you don't mean "embed"?

Additionally Adobe already said FP won't be supported after 2020 so if your question is about FP support then it has already been answered by Adobe itself.