Flash player redistribution

From HippoHX

Jump to: navigation, search

As any other Flash application SWHX (and therefore HippoHX) applications need the Flash player installed to display Flash content (Firefox Flash player in this case). To this date neither SWHX nor HippoHX redistribute it.

[edit] SWHX behaviour

As per SHWX site, this is the behaviour:

If it’s the first time you are starting the application, you should notice a small lag. This is because when the Flash Firefox Plugin is not found in the current directory, the call to swhx.Plugin.update() will retreive it from Internet first, and save it into the file flashplayer.bin.

This way you don’t have to redistribute the Flash Player as part of your application. If the plugin is already in the directory, the application will start immediately.

If you know that the player is already installed somewhere, you can pass the complete path to the dll/bundle containing the flash player when calling swhx.Application.init instead of null.

This might be breaking Flash player redistribution license because:

  • Is not showing the EULA to the user.
  • It's renaming Flash player to "flashplayer.bin".

If you can read haXe code, Plugin.hx is the class responsible for finding and downloading the Flash Player.

[edit] HippoHX behaviour

Starting from version 0.3 HippoHX applications will NOT automatically download the Flash player if not present. By default they will display an error to the user.

Under your own responsability you can override App.playerNotFound method and call swhx.Plugin.update. That will try to download the player and follow original SWHX behaviour described above.

You can also override that method to display custom error messages (in other languages, for example).

[edit] Future

While we try to sort this out, you can download yourself the Flash player, rename it and redistribute it but this is entirely up to you, WE CANNOT TAKE ANY RESPONSIBILITY FOR IT.

However, we will apply for a license (better for SWHX, or at least for HippoHX) so you can create applications without any legal uncertainty. The moment we get an answer we will make it public. Nevertheless we might well not get any.

For more information, check out this links: