Skip to content
Newer
Older
100644 102 lines (73 sloc) 3.09 KB
ef38fad @aajanki Update README
aajanki authored
1 Lightspark is an open source Flash player implementation for playing
2 files in SWF format. Lightspark can run as a web browser plugin or as
3 a standalone application.
4
5 Lightspark supports SWF files written on the newest version of the
6 ActionScript language, ActionScript 3.0, which was introduced at the
7 same time as Flash player 9.
8
9 INSTALLATION
10 ============
11
12 To compile this software you need to install development packages for
a73a291 @dbluelle [SDLPlugin] switch to using sdl_mixer to enable multiple audio streams
dbluelle authored
13 llvm (version 2.8 or >= 3.0), opengl, curl, zlib, libavcodec, libavresample
a1c32e2 @dbluelle update changelog and readme
dbluelle authored
14 libglew, pcre, librtmp, cairo, libboost-filesystem,
15 gtk-2, libjpeg, libavformat, pango, liblzma
ef38fad @aajanki Update README
aajanki authored
16
17 If sound is enabled (on by default), you will also need the
a73a291 @dbluelle [SDLPlugin] switch to using sdl_mixer to enable multiple audio streams
dbluelle authored
18 development package for pulseaudio-libs and/or sdl_mixer.
ef38fad @aajanki Update README
aajanki authored
19
a1c32e2 @dbluelle update changelog and readme
dbluelle authored
20 Install also cmake, nasm and gcc (version 4.6.0 or newer) or clang
8439d37 @alexp-sssup Add a note about libxml++ required patches
alexp-sssup authored
21
53f8fa2 @QuLogic Word-wrap the README.
QuLogic authored
22 To build the software please follow these steps.
7dcc729 Add tech demo readme
alex authored
23
1c0907d Modified README for techdemo2
alex authored
24 1) cd lightspark
2d0897b @twied Change readme to match the ignored directories in .gitignore
twied authored
25 2) mkdir obj
26 3) cd obj
20c14a7 Update README as now the plugin is build by default
Joerg Mayer authored
27 4) cmake -DCMAKE_BUILD_TYPE=Release ..
b4dac87 Modify the build tree and revert to manual creation of objs folder so…
Alexandre Demers authored
28 5) make
29 6) sudo make install
7dcc729 Add tech demo readme
alex authored
30
3ee14f5 @alexp-sssup Avoid checking for libpulse if sound is disabled
alexp-sssup authored
31 DEBUG MODE:
feef23d @alexp-sssup Added to README how to build in debug mode
alexp-sssup authored
32 To enable debug mode change the cmake command like this:
20c14a7 Update README as now the plugin is build by default
Joerg Mayer authored
33 4b) cmake -DCMAKE_BUILD_TYPE=Debug
feef23d @alexp-sssup Added to README how to build in debug mode
alexp-sssup authored
34
ae00974 @aajanki Update README
aajanki authored
35 CMAKE_BUILD_TYPE available: Debug LeanDebug Release RelWithDebInfo Profile
36
37 Sound support may be disabled using the following option:
38 -DENABLE_SOUND=0 The audio backend can be set using
39 -DAUDIO_BACKEND=<pulseaudio|sdl> (default is pulseaudio)
3ee14f5 @alexp-sssup Avoid checking for libpulse if sound is disabled
alexp-sssup authored
40
ef38fad @aajanki Update README
aajanki authored
41 EXECUTION
42 =========
09c669f @alexp-sssup Updated README
alexp-sssup authored
43
ef38fad @aajanki Update README
aajanki authored
44 Using `make install`, lightspark is installed in the system wide
ae00974 @aajanki Update README
aajanki authored
45
46 Browser plugin
47 --------------
48
ef38fad @aajanki Update README
aajanki authored
49 Firefox plugin path and Firefox should show it in the about:plugins
50 list and in the Tools->Add-ons->Plugins window.
09c669f @alexp-sssup Updated README
alexp-sssup authored
51
ef38fad @aajanki Update README
aajanki authored
52 Lightspark registers itself as the plugin for
53 application/x-shockwave-flash and for application/x-lightspark, so it
54 should be recognisable in the about:plugins page. Its description
55 string is "Shockwave Flash 12.1 r<current version>". The current
56 version is now "r710".
09c669f @alexp-sssup Updated README
alexp-sssup authored
57
ef38fad @aajanki Update README
aajanki authored
58 Firefox is not able to deal very well with multiple plugins for the
59 same MIME type. If you only see a black box where a flash app should
60 be try to remove any other flash plugin you have installed.
61
ae00974 @aajanki Update README
aajanki authored
62 Command line
63 ------------
64
65 The command line version of Lightspark can play a local SWF file.
66 Execution: lightspark file.swf
67
68 Type `lightspark` to see all command line options.
69
ef38fad @aajanki Update README
aajanki authored
70 Keyboard shortcuts
71 ------------------
9e06cc2 @aajanki toplevel: Support for key up and key down events, Keyboard class
aajanki authored
72
73 Ctrl+Q Quit (standalone player only)
74 Ctrl+M Mute/unmute sounds
75 Ctrl+P Show profiling data
76 Ctrl+C Copy an error to the clipboard (when Lightspark fails)
77
ef38fad @aajanki Update README
aajanki authored
78 SWF SUPPORT
79 ===========
80
81 Many web sites do not yet work yet because the implementation is
82 incomplete. See the following page for support status of selected web
83 sites: https://github.com/lightspark/lightspark/wiki/Site-Support
84
85 You may also try Lightspark on some known-to-work Youtube movies:
09c669f @alexp-sssup Updated README
alexp-sssup authored
86
87 http://www.youtube.com/watch?v=ca20NEt4VSQ
88 http://www.youtube.com/watch?v=4N2YWRJ-ppo
89 http://www.youtube.com/watch?v=XITHbsUUlYI
90 http://www.youtube.com/watch?v=-j7c0u9yZ8M
91 http://www.youtube.com/watch?v=G4S9tV8ZLcE
53f8fa2 @QuLogic Word-wrap the README.
QuLogic authored
92
a5b1ca0 @thomasdziedzic add Monty Python - Four Yorkshiremen to the examples that work
thomasdziedzic authored
93 http://www.youtube.com/watch?v=FatHLHG2uGY
ef38fad @aajanki Update README
aajanki authored
94
95 REPORTING BUGS
96 ==============
97
98 If you think you have found a bug in Lightspark, please file a bug
99 report at https://bugs.launchpad.net/lightspark. See
100 https://github.com/lightspark/lightspark/wiki/Reporting-Bugs for help
101 on reporting bugs.
Something went wrong with that request. Please try again.