TranslateProject/sources/tech/20180906 Two open source alternatives to Flash Player.md

4.4 KiB
Raw Blame History

Two open source alternatives to Flash Player

In July 2017, Adobe sounded the death knell for its Flash Media Player, announcing it would end support for the once-ubiquitous online video player in 2020. In truth, however, Flash has been on the decline for the past eight years following a rash of zero-day attacks that damaged its reputation. Its future dimmed after Apple announced in 2010 it would not support the technology, and its demise accelerated in 2016 after Google stopped enabling Flash by default (in favor of HTML5) in the Chrome browser.

Even so, Adobe is still issuing monthly updates for the software, which has slipped from being used on 28.5% of all websites in 2011 to only 4.4.% as of August 2018. More evidence of Flashs decline: Google director of engineering Parisa Tabriz said the number of Chrome users who access Flash content via the browser has declined from 80% in 2014 to under eight percent in 2018.

Although few* video creators are publishing in Flash format today, there are still a lot of Flash videos out there that people will want to access for years to come. Given that the official applications days are numbered, open source software creators have a great opportunity to step in with alternatives to Adobe Flash Media Player. Two of those applications are Lightspark and GNU Gnash. Neither are perfect substitutions, but help from willing contributors could make them viable alternatives.

Lightspark

Lightspark is a Flash Player alternative for Linux machines. While its still in alpha, development has accelerated since Adobe announced it would sunset Flash in 2017. According to its website, Lightspark implements about 60% of the Flash APIs and works on many leading websites including BBC News, Google Play Music, and Amazon Music.

Lightspark is written in C++/C and licensed under LGPLv3. The project lists 41 contributors and is actively soliciting bug reports and other contributions. For more information, check out its GitHub repository.

GNU Gnash

GNU Gnash is a Flash Player for GNU/Linux operating systems including Ubuntu, Fedora, and Debian. It works as standalone software and as a plugin for the Firefox and Konqueror browsers.

Gnashs main drawback is that it doesnt support the latest versions of Flash files—it supports most Flash SWF v7 features, some v8 and v9 features, and offers no support for v10 files. Its in beta release, and since its licensed under the GNU GPLv3 or later, you can help contribute to modernizing it. Access its project page for more information.

Want to create Flash?

*Just because most people aren't publishing Flash videos these days, that doesn't mean there will never, ever be a need to create SWF files. If you find yourself in that position, these two open source tools might help:

  • Motion-Twin ActionScript 2 Compiler (MTASC): A command-line compiler that can generate SWF files without Adobe Animate (the current iteration of Adobe's video-creator software).
  • Ming: A library written in C that can generate SWF files. It also contains some utilities you can use to work with Flash files.

via: https://opensource.com/alternatives/flash-media-player

作者:Opensource.com 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出