summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/firefox
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2016-08-23 10:16:37 +0200
committerLluís Batlle i Rossell <viric@viric.name>2016-08-23 10:16:37 +0200
commit9ef3a513793e42d828b823c7ecb1488ddc2b9706 (patch)
tree276cb42ee6c3fd6f2013e644496dfd8dc0fff585 /pkgs/applications/networking/browsers/firefox
parent01c197df689a9794885a80d965311696377e0efb (diff)
downloadnixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar.gz
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar.bz2
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar.lz
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar.xz
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.tar.zst
nixlib-9ef3a513793e42d828b823c7ecb1488ddc2b9706.zip
Adding vlc plugin for firefox.
I really wanted it to substitute the html5 player, or at least the direct
player for mp4/webm files in firefox, but I couldn't make it work. The
formats recognized by the firefox internal player were used in all cases. The
plugin worked for formats unknown by firefox.

https://support.mozilla.org/ca/questions/1089501

Nevertheless, as I wrote the nix recipe, I commit it. It may be of interest to
someone else.
Diffstat (limited to 'pkgs/applications/networking/browsers/firefox')
-rw-r--r--pkgs/applications/networking/browsers/firefox/wrapper.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 503c52ac7bab..c9adde4f15bb 100644
--- a/pkgs/applications/networking/browsers/firefox/wrapper.nix
+++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix
@@ -7,6 +7,7 @@
 , trezor-bridge, bluejeans, djview4, adobe-reader
 , google_talk_plugin, fribid, gnome3/*.gnome_shell*/
 , esteidfirefoxplugin
+, vlc_npapi
 }:
 
 ## configurability of the wrapper itself
@@ -45,6 +46,7 @@ let
       ++ lib.optional (cfg.enableBluejeans or false) bluejeans
       ++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
       ++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
+      ++ lib.optional (cfg.enableVLC or false) vlc_npapi
      );
   libs = (if ffmpegSupport then [ ffmpeg ] else with gst_all; [ gstreamer gst-plugins-base ])
          ++ lib.optionals (cfg.enableQuakeLive or false)