Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An open source flash player implementation
C++ C ActionScript Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
backends
conf
debian
docs/man
media
parsing
platforms
plugin
scripting
scripts
tests
.gitignore
CMakeLists.txt
COPYING
COPYING.LESSER
ChangeLog
Doxyfile
README
README.tests
TODO
asobject.cpp
asobject.h
atomic.h
compat.cpp
compat.h
exceptions.h
frame.cpp
frame.h
lightspark.expmap
lightspark.frag
lightspark.vert
logger.cpp
logger.h
main.cpp
packed_begin.h
packed_end.h
swf.cpp
swf.h
swftypes.cpp
swftypes.h
thread_pool.cpp
thread_pool.h
threading.cpp
threading.h
tightspark.cpp
timer.cpp
timer.h

README

INSTALLATION:
To compile this software you need to install development packages for llvm-2.7,
sdl, opengl, curl, zlib, libavcodec, ftgl, libglew, fontconfig, pcre.
If sound is enabled (on by default), you will also need the development package
for pulseaudio-libs.
If the browser plugin is enabled (off by default), you will need the development
package for xulrunner.
Install also cmake and nasm.
To build the software please follow these steps.

1) cd lightspark
2) mkdir objs
3) cd objs
4) cmake -DCMAKE_BUILD_TYPE=Release -DCOMPILE_PLUGIN=1 ..
5) make
6) sudo make install

DEBUG MODE:
To enable debug mode change the cmake command like this:
4b) cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPILE_PLUGIN=1

CMAKE_BUILD_TYPE available: Debug Release RelWithDebInfo Profile Debian
Sound support may be disabled using the following option: -DENABLE_SOUND=0

EXECUTION:
Using `make install`, lightspark is installed in the system wide Firefox plugin
path and Firefox should show it in the about:plugins list and in the
Tools->Add-ons->Plugins window.

Lightspark registers itself as the plugin for application/x-shockwave-flash and
for application/x-lightspark, so it should be recognisable in the about:plugins
page. Its description string is "Shockwave Flash 10.0 r<current version>". The
current version is now "r43".

Firefox is not able to deal very well with multiple plugins for the same MIME
type. If you only see a black box where a flash app should be try to remove any
other flash plugin you have installed.

TEST:
You may try it on some known-to-work movies:

http://www.youtube.com/watch?v=ca20NEt4VSQ
http://www.youtube.com/watch?v=4N2YWRJ-ppo
http://www.youtube.com/watch?v=XITHbsUUlYI
http://www.youtube.com/watch?v=-j7c0u9yZ8M
http://www.youtube.com/watch?v=G4S9tV8ZLcE

Something went wrong with that request. Please try again.