Adobe Flash® was a popular format for delivering rich web content over the internet via the Adobe® Flash Player. ExeOutput for PHP applications can still display Flash content (in SWF format) under certain conditions.
Warning
Adobe Flash has been discontinued, and HTML5 is recommended as an alternative. We do not provide technical support or assume liability for Flash content. ExeOutput for PHP does not include a Flash player. However, users who wish to play Flash content within their PHP application can follow the instructions below.
Two methods are available for playing Flash content: using the Flash Player emulator Ruffle, or employing an older version of Chromium that still supports the legacy Flash Player.
Using Ruffle #
You can use the Flash Player emulator named Ruffle.
Ruffle is a Flash Player emulator that runs natively in Chromium via WebAssembly, making it compatible with ExeOutput applications. Download Ruffle, follow its documentation to integrate the required script into your webpages, and Ruffle will enable your Flash content.
Tip
See working samples in the Flash topic of the General Demonstration.
Note
Ruffle is still in development; not all Flash movies may work, especially those requiring ActionScript 3.
Using an Older Chromium Version #
The Chromium Embedded Framework (CEF) used by ExeOutput for PHP can still play Flash content if you choose CEF version 87 as the rendering engine and if the Pepper Flash player is available.
An external requirement exists: the Pepper Flash DLL file must be placed in the same folder as your application’s EXE file, and it must be redistributed to your users.
ExeOutput for PHP does not provide the Pepper Flash DLL file due to legal reasons.
The DLL file begins with pepflashplayer32. For instance, place the Pepper Flash DLL pepflashplayer32_32_0_0_238.dll into the EXE folder, and the Chromium engine will recognize it for playing Flash files.
Finally, use the standard EMBED HTML tag to display Flash movies. Example:
<embed align=""
type="application/x-shockwave-flash"
name="myMovieName2"
bgcolor="#FFFFFF"
quality="high"
src="assets/ball.swf"
height="400" width="160"
href="assets/ball.swf"/>