How to install proprietary decoders from external ffmpeg library
Slimjet doesn't include h.264, AAC and mp3 decoders on Linux and Mac platform due to patent issues. Without h.264 and AAC decoders, HTML5 videos encoded with MP4 format will not be playable. Without mp3 decoder, mp3 streaming music will not be playable. There are some external ffmpeg libraries contributed by the community which includes the proprietary decoders. You can download and install them on your own. Make sure you quit Slimjet first before installing the external ffmpeg library.
Please note that the major version of the ffmpeg library should match with the Blink engine version of Slimjet. Otherwise, Slimjet might not be able to run at all. Always backup the original copy of libffmpeg.so before overwriting it with the external copy. The instructions here are intended for the latest version (18.104.22.168)of Slimjet. If you are using an older version of Slimjet, you might need find an older version of ffmpeg library to be compatible.
NOTE: Every time you upgrade to a newer version of Slimjet, you will need install the ffmpeg library again.
You can download libffmpeg.so from the ubuntu chromium-codecs-ffmpeg-extra package. Choose chromium-codecs-ffmpeg-extra_69.0.3497.81-0ubuntu0.16.04.1_amd64.deb or chromium-codecs-ffmpeg-extra_69.0.3497.81-0ubuntu0.16.04.1_i386.deb depending on the bits of your Slimjet. If you are using an earlier version of Slimjet, locate the version of ffmpeg_extrac package with most similar chromium version. Extract the file libffmpeg.so out of the deb archive using the dpkg command.
>dpkg -x downloaded_file.deb .
The libffmpeg.so file is located under the subfolder "usr/lib/chromium-browser" after dpkg extraction. You can use some GUI archive manager to extract the file as well such as the built-in archive manager shipped with Ubuntu. After that, use the following commands to copy libffmpeg.so to the Slimjet installation folder ("/opt/slimjet" on Ubuntu),
>sudo cp libffmpeg.so /opt/slimjet/
If you install slimjet from the portable archive into a different folder, you should replace "/opt/slimjet" with the actual installation folder of Slimjet.
2. Mac OS X
You can download libffmpeg.dylib from this github project. Choose the file 0.28.2-osx-x64.zip. Extract the file libffmpeg.dylib out of the zip archive. After that, use the following commands to copy libffmpeg.dylib under the lib subfolder of Slimjet installation folder,
>cp libffmpeg.dylib "/Applications/FlashPeak Slimjet.app/Contents/Versions/$version_number/FlashPeak Slimjet Framework.framework/Libraries"
$version_number is the actual version of Slimjet, such as 22.214.171.124. You can change into directory /Applications/FlashPeak Slimjet.app/Contents/Versions first to view the actual version number as the folder name.