Skip to main content
Participating Frequently
January 17, 2017
Answered

Flash player inside HTML control

  • January 17, 2017
  • 2 replies
  • 1920 views

Platform: Adobe AIR Flash application for desktop

Component: Flex HTML control hosting an HTML page

The page needs to display video content. When a Flash player is installed on the machine, the video is rendered. When there's no flash player, the video panel shows a link for downloading the Flash player.

Since this thing is running inside a flash player to begin with, I'm hoping to find a way to avoid the dependency on the external flash player. The <video> tag seems not to be implemented. Any idea how I can display Flash content inside the html page?

thanks

This topic has been closed for replies.
Correct answer Amrita Gangwani

Using AIR 21 for compiling a captive application might help you with not installing plugin separately. But, if you package a captive application with latest AIR version after embedding a plugin, it might work as well. This workaround won't work for native and shared applications when using latest runtime on your system. In that case, a substitute plugin would be searched on your system, if not found you will be prompted to install one.

2 replies

Amrita Gangwani
Adobe Employee
Amrita GangwaniCorrect answer
Adobe Employee
January 18, 2017

Using AIR 21 for compiling a captive application might help you with not installing plugin separately. But, if you package a captive application with latest AIR version after embedding a plugin, it might work as well. This workaround won't work for native and shared applications when using latest runtime on your system. In that case, a substitute plugin would be searched on your system, if not found you will be prompted to install one.

imdflAuthor
Participating Frequently
January 18, 2017

Indeed I'm packaging an application with captive AIR runtime. What did you mean by "embedding a plugin"?

Amrita Gangwani
Adobe Employee
Adobe Employee
January 18, 2017

By embedding I mean by installing a plugin as stated in the release notes.

Amrita Gangwani
Adobe Employee
Adobe Employee
January 18, 2017

Hi,

This was a feature implementation done with AIR version 22. Please, read "System level Flash Player support for AIR desktop applications" on page Flash Player and AIR 22 Release Notes

"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"

Thanks!

imdflAuthor
Participating Frequently
January 18, 2017

Thanks for the quick info

Does this mean that if I compile against AIR 21 or lower I'll get video playback regardless of the system player status?